]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ae8f484fc494a9b5277e18d1ce676cf3c25f0ae
tree750c40496aada9c59bc1917d2a62aa24989aedfa
parent0a53dc9eae6b469eaeddeb8a15cce3e8d87abc01
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