All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PPC: KVM: Book E doesn't have __end_interrupts.
@ 2010-10-18 22:35 Scott Wood
       [not found] ` <20101018223548.GA31033-N/eSCTBpGwP7j4BuCOFQISmX4OfbXNuMKnGXBo5VDl8@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Scott Wood @ 2010-10-18 22:35 UTC (permalink / raw)
  To: kvm-ppc

Fix an unresolved symbol with CONFIG_KVM_GUEST plus CONFIG_RELOCATABLE on
Book E.

Signed-off-by: Scott Wood <scottwood@freescale.com>
---
 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 */
 
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-10-19 15:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-18 22:35 [PATCH] PPC: KVM: Book E doesn't have __end_interrupts Scott Wood
     [not found] ` <20101018223548.GA31033-N/eSCTBpGwP7j4BuCOFQISmX4OfbXNuMKnGXBo5VDl8@public.gmane.org>
2010-10-18 22:57   ` Alexander Graf
2010-10-18 22:57     ` Alexander Graf
     [not found]     ` <63D9E9B6-3FF4-4A13-A087-0B509208F12A-l3A5Bk7waGM@public.gmane.org>
2010-10-19 14:06       ` Marcelo Tosatti
2010-10-19 14:06         ` Marcelo Tosatti
     [not found]         ` <20101019140657.GA4833-I4X2Mt4zSy4@public.gmane.org>
2010-10-19 15:26           ` Alexander Graf
2010-10-19 15:26             ` Alexander Graf
     [not found]             ` <1C5182C8-B875-44B9-BBDF-104B68211F06-l3A5Bk7waGM@public.gmane.org>
2010-10-19 15:33               ` Avi Kivity
2010-10-19 15:33                 ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.