x86, lguest: fix apic_ops build on UP
authorIngo Molnar <mingo@elte.hu>
Sun, 20 Jul 2008 15:04:57 +0000 (17:04 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 20 Jul 2008 15:03:45 +0000 (17:03 +0200)
fix:

  arch/x86/lguest/boot.c:816: error: variable ‘lguest_basic_apic_ops’ has initializer but incomplete type
  arch/x86/lguest/boot.c:817: error: unknown field ‘read’ specified in initializer
 [...]

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/lguest/boot.c

index 35c4349..756fc48 100644 (file)
@@ -55,6 +55,7 @@
 #include <linux/lguest_launcher.h>
 #include <linux/virtio_console.h>
 #include <linux/pm.h>
+#include <asm/apic.h>
 #include <asm/lguest.h>
 #include <asm/paravirt.h>
 #include <asm/param.h>