diff options
author | Scott Wood <scottwood@freescale.com> | 2010-10-18 17:35:48 -0500 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-11-05 14:42:27 -0200 |
commit | a36be1003a80197714fc2b6e198df2f31f9eb270 (patch) | |
tree | 8e804f7bc7b0af3e9988d540d2196088f01042d4 /arch/powerpc/kernel/kvm.c | |
parent | 453d9c57e27b4401bc3e98906bcac31ae8be0165 (diff) | |
download | op-kernel-dev-a36be1003a80197714fc2b6e198df2f31f9eb270.zip op-kernel-dev-a36be1003a80197714fc2b6e198df2f31f9eb270.tar.gz |
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/kernel/kvm.c')
-rw-r--r-- | arch/powerpc/kernel/kvm.c | 2 |
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 */ |