KVM: PPC: e500: fix allocation size error on g2h_tlb1_map
authorScott Wood <scottwood@freescale.com>
Wed, 22 Aug 2012 15:04:23 +0000 (15:04 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 5 Oct 2012 21:38:53 +0000 (23:38 +0200)
commite400e72f250d2567e89c9bafb47ab91e8d9a15a2
tree750c40496aada9c59bc1917d2a62aa24989aedfa
parent70bddfefbdcdbfdebd81d8b59ff8a7fa5d450ccc
KVM: PPC: e500: fix allocation size error on g2h_tlb1_map

We were only allocating half the bytes we need, which was made more
obvious by a recent fix to the memset in  clear_tlb1_bitmap().

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Cc: stable@vger.kernel.org
arch/powerpc/kvm/e500_tlb.c