projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
453d9c5
)
PPC: KVM: Book E doesn't have __end_interrupts.
author
Scott Wood
<scottwood@freescale.com>
Mon, 18 Oct 2010 22:35:48 +0000
(17:35 -0500)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
Fri, 5 Nov 2010 16:42:27 +0000
(14:42 -0200)
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>
arch/powerpc/kernel/kvm.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/kvm.c
b/arch/powerpc/kernel/kvm.c
index
428d0e5
..
b06bdae
100644
(file)
--- 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)
{
-#if
def 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 */