KVM: PPC: Add Book3S compatibility code
authorAlexander Graf <agraf@suse.de>
Thu, 15 Apr 2010 22:11:53 +0000 (00:11 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:46 +0000 (12:18 +0300)
commit07b0907db19d28dc74e7927d565655690b96daf7
tree24f195343ece3b2a24f94eac0f196a021cecc838
parent61db97cc1e7fce4fd16f72b1350e1728797fa26f
KVM: PPC: Add Book3S compatibility code

Some code we had so far required defines and had code that was completely
Book3S_64 specific. Since we now opened book3s.c to Book3S_32 too, we need
to take care of these pieces.

So let's add some minor code where it makes sense to not go the Book3S_64
code paths and add compat defines on others.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/book3s_32_mmu.c
arch/powerpc/kvm/book3s_emulate.c
arch/powerpc/kvm/book3s_rmhandlers.S