]> err.no Git - linux-2.6/commitdiff
x86: fix missing include for vsyscall
authorDave Jones <davej@redhat.com>
Sun, 14 Oct 2007 20:57:45 +0000 (22:57 +0200)
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>
Sun, 14 Oct 2007 20:57:45 +0000 (22:57 +0200)
 > Maybe I just picked a bad time to try, but...
 >
 > arch/x86/kernel/alternative.c: In function 'apply_alternatives':
 > arch/x86/kernel/alternative.c:191: error: 'VSYSCALL_START' undeclared (first use in this function)
 > arch/x86/kernel/alternative.c:191: error: (Each undeclared identifier is reported only once
 > arch/x86/kernel/alternative.c:191: error: for each function it appears in.)
 > arch/x86/kernel/alternative.c:191: error: 'VSYSCALL_END' undeclared (first use in this function)
 > make[1]: *** [arch/x86/kernel/alternative.o] Error 1
 > make: *** [arch/x86/kernel] Error 2

Try this.

Include missing header for vsyscall.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/alternative.c

index bd72d94e713e68d75a902b725424c27bb9d39421..11b03d3c6fdaf36a65f2d86aa769eddd44e914e6 100644 (file)
@@ -10,6 +10,7 @@
 #include <asm/pgtable.h>
 #include <asm/mce.h>
 #include <asm/nmi.h>
+#include <asm/vsyscall.h>
 
 #define MAX_PATCH_LEN (255-1)