]> 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)
committerAlexander Graf <agraf@suse.de>
Thu, 27 Sep 2012 19:59:49 +0000 (21:59 +0200)
commit1599e2e63648ad512028a543c690d9a878841886
treeab6329e6a61c75f6d42b1946ed882b1318440947
parent44866db7a45a172011d72b965f40fbc2ab8dbfdf
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