summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorScott Wood2010-10-19 00:35:48 +0200
committerMarcelo Tosatti2010-11-05 17:42:27 +0100
commita36be1003a80197714fc2b6e198df2f31f9eb270 (patch)
tree8e804f7bc7b0af3e9988d540d2196088f01042d4 /arch
parentKVM: x86: Issue smp_call_function_many with preemption disabled (diff)
downloadkernel-qcow2-linux-a36be1003a80197714fc2b6e198df2f31f9eb270.tar.gz
kernel-qcow2-linux-a36be1003a80197714fc2b6e198df2f31f9eb270.tar.xz
kernel-qcow2-linux-a36be1003a80197714fc2b6e198df2f31f9eb270.zip
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')
-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 428d0e538aec..b06bdae04064 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 */