]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 16:45:46 +0000 (08:45 -0800)
commit1280178d00bf09683fa47a94a98c16437c18edd7
tree24c2690032b482f8ffafbc64991ee3dc5701f496
parent8e290e6ceafb54d615f4c18e4a163eba9d684eed
KVM: PPC: e500: fix allocation size error on g2h_tlb1_map

commit e400e72f250d2567e89c9bafb47ab91e8d9a15a2 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/kvm/e500_tlb.c