Re: [PATCH] Fix building lguest as module.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Tuesday, February 19, 2008 - 6:54 am

* Ingo Molnar <mingo@elte.hu> wrote:


the right one is below. There's no 'LGUEST_MODULE' anymore - 
'LGUEST_GUEST' is what should be used.

	Ingo

------------------->
Subject: lguest: fix build breakage
From: Tony Breeds <tony@bakeyournoodle.com>
Date: Tue Feb 19 08:16:03 CET 2008

[ mingo@elte.hu: merged to Rusty's patch ]

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/x86/kernel/asm-offsets_32.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-x86.q/arch/x86/kernel/asm-offsets_32.c
===================================================================
--- linux-x86.q.orig/arch/x86/kernel/asm-offsets_32.c
+++ linux-x86.q/arch/x86/kernel/asm-offsets_32.c
@@ -128,7 +128,7 @@ void foo(void)
 	OFFSET(XEN_vcpu_info_pending, vcpu_info, evtchn_upcall_pending);
 #endif
 
-#ifdef CONFIG_LGUEST_GUEST
+#if defined(CONFIG_LGUEST) || defined(CONFIG_LGUEST_GUEST)
 	BLANK();
 	OFFSET(LGUEST_DATA_irq_enabled, lguest_data, irq_enabled);
 	OFFSET(LGUEST_DATA_pgdir, lguest_data, pgdir);
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Fix building lguest as module., Tony Breeds, (Mon Feb 18, 8:44 pm)
Re: [PATCH] Fix building lguest as module., Ingo Molnar, (Tue Feb 19, 12:32 am)
Re: [PATCH] Fix building lguest as module., Ingo Molnar, (Tue Feb 19, 6:54 am)
Re: [PATCH] Fix building lguest as module., Tony Breeds, (Tue Feb 19, 4:35 pm)
Re: [PATCH] Fix building lguest as module., Ingo Molnar, (Wed Feb 20, 2:33 am)
Re: [PATCH] Fix building lguest as module., Ingo Molnar, (Wed Feb 20, 3:01 am)
Re: [PATCH] Fix building lguest as module., Tony Breeds, (Thu Feb 21, 10:58 pm)