Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b097976e8d6f6e6220161fa6b72b0798ce9f4f4c
Commit:     b097976e8d6f6e6220161fa6b72b0798ce9f4f4c
Parent:     4fa435018d740cb83d74c92306aa1f796da91ddd
Author:     Dave Jones <[EMAIL PROTECTED]>
AuthorDate: Sun Oct 14 22:57:45 2007 +0200
Committer:  Thomas Gleixner <[EMAIL PROTECTED]>
CommitDate: Sun Oct 14 22:57:45 2007 +0200

    x86: fix missing include for vsyscall
    
     > 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 <[EMAIL PROTECTED]>
    Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
---
 arch/x86/kernel/alternative.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
index bd72d94..11b03d3 100644
--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -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)
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to