[Lguest] [PATCH] Fix building lguest as module.
Ingo Molnar
mingo at elte.hu
Tue Feb 19 18:32:05 EST 2008
* Tony Breeds <tony at bakeyournoodle.com> wrote:
> +#endif
> +
> +#if defined(CONFIG_LGUEST) || defined(CONFIG_LGUEST_MODULE)
> + BLANK();
hm. Rusty's original fix is now upstream. I've done a delta to your
patch, find the fix is below.
Ingo
----------------->
Subject: lguest: fix build breakage
From: Tony Breeds <tony at bakeyournoodle.com>
Date: Tue Feb 19 08:16:03 CET 2008
[ mingo at elte.hu: merged to Rusty's patch ]
Signed-off-by: Ingo Molnar <mingo at elte.hu>
---
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_MODULE)
BLANK();
OFFSET(LGUEST_DATA_irq_enabled, lguest_data, irq_enabled);
OFFSET(LGUEST_DATA_pgdir, lguest_data, pgdir);
More information about the Lguest
mailing list