]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Find HTAB ourselves
authorAlexander Graf <agraf@suse.de>
Tue, 20 Apr 2010 00:49:53 +0000 (02:49 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:19:07 +0000 (12:19 +0300)
commitaf79850266dd50faa5871a6efcf164c35e3888cf
treecce6b6beda97aaad86e5e31debc6f2fb2a4d8ebe
parent5cfb4d899cba88dbf6dc0013b8e9e34ee40aa347
KVM: PPC: Find HTAB ourselves

For KVM we need to find the location of the HTAB. We can either rely
on internal data structures of the kernel or ask the hardware.

Ben issued complaints about the internal data structure method, so
let's switch it to our own inquiry of the HTAB. Now we're fully
independend :-).

CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kernel/ppc_ksyms.c
arch/powerpc/kvm/book3s_32_mmu_host.c