aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/book3s_rmhandlers.S
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-04-15 18:11:53 -0400
committerAvi Kivity <avi@redhat.com>2010-05-17 05:18:46 -0400
commit07b0907db19d28dc74e7927d565655690b96daf7 (patch)
tree24f195343ece3b2a24f94eac0f196a021cecc838 /arch/powerpc/kvm/book3s_rmhandlers.S
parent61db97cc1e7fce4fd16f72b1350e1728797fa26f (diff)
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>
Diffstat (limited to 'arch/powerpc/kvm/book3s_rmhandlers.S')
-rw-r--r--arch/powerpc/kvm/book3s_rmhandlers.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kvm/book3s_rmhandlers.S b/arch/powerpc/kvm/book3s_rmhandlers.S
index 8a1c4bdb58b3..506d5c316c96 100644
--- a/arch/powerpc/kvm/book3s_rmhandlers.S
+++ b/arch/powerpc/kvm/book3s_rmhandlers.S
@@ -242,10 +242,10 @@ define_load_up(vsx)
242 242
243.global kvmppc_trampoline_lowmem 243.global kvmppc_trampoline_lowmem
244kvmppc_trampoline_lowmem: 244kvmppc_trampoline_lowmem:
245 .long kvmppc_handler_lowmem_trampoline - _stext 245 .long kvmppc_handler_lowmem_trampoline - CONFIG_KERNEL_START
246 246
247.global kvmppc_trampoline_enter 247.global kvmppc_trampoline_enter
248kvmppc_trampoline_enter: 248kvmppc_trampoline_enter:
249 .long kvmppc_handler_trampoline_enter - _stext 249 .long kvmppc_handler_trampoline_enter - CONFIG_KERNEL_START
250 250
251#include "book3s_segment.S" 251#include "book3s_segment.S"