]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Keep index within boundaries in kvmppc_44x_emul_tlbwe()
authorRoel Kluin <roel.kluin@gmail.com>
Sun, 9 May 2010 15:26:47 +0000 (17:26 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 13 May 2010 04:33:04 +0000 (01:33 -0300)
commit1848e2b62b629f9d2a941994dc517700dc8731e4
tree95b94a1676b6b7314274576dbea0b863c73e3aba
parentf099f5702abe7a8adf2aa9b3abcad417635a456e
KVM: PPC: Keep index within boundaries in kvmppc_44x_emul_tlbwe()

An index of KVM44x_GUEST_TLB_SIZE is already one too large.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Hollis Blanchard <hollis@penguinppc.org>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/powerpc/kvm/44x_tlb.c