aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2010-10-18 17:35:48 -0500
committerMarcelo Tosatti <mtosatti@redhat.com>2010-11-05 14:42:27 -0200
commita36be1003a80197714fc2b6e198df2f31f9eb270 (patch)
tree8e804f7bc7b0af3e9988d540d2196088f01042d4 /arch/powerpc
parent453d9c57e27b4401bc3e98906bcac31ae8be0165 (diff)
downloadkernel_samsung_tuna-a36be1003a80197714fc2b6e198df2f31f9eb270.zip
kernel_samsung_tuna-a36be1003a80197714fc2b6e198df2f31f9eb270.tar.gz
kernel_samsung_tuna-a36be1003a80197714fc2b6e198df2f31f9eb270.tar.bz2
PPC: KVM: Book E doesn't have __end_interrupts.
Fix an unresolved symbol with CONFIG_KVM_GUEST plus CONFIG_RELOCATABLE on Book E. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/kvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/kvm.c b/arch/powerpc/kernel/kvm.c
index 428d0e5..b06bdae 100644
--- a/arch/powerpc/kernel/kvm.c
+++ b/arch/powerpc/kernel/kvm.c
@@ -127,7 +127,7 @@ static void kvm_patch_ins_nop(u32 *inst)
static void kvm_patch_ins_b(u32 *inst, int addr)
{
-#ifdef CONFIG_RELOCATABLE
+#if defined(CONFIG_RELOCATABLE) && defined(CONFIG_PPC_BOOK3S)
/* On relocatable kernels interrupts handlers and our code
can be in different regions, so we don't patch them */