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)
commit251585b5d02152973dbc24c803ca322bb977d4a2
treecce6b6beda97aaad86e5e31debc6f2fb2a4d8ebe
parent5156f274bb1ee1cfc22240445ef94f7dcfc9929d
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