x86: fix mm/fault.c build
authorRandy Dunlap <rdunlap@xenotime.net>
Mon, 15 Aug 2011 17:18:46 +0000 (10:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 16 Aug 2011 02:10:50 +0000 (19:10 -0700)
arch/x86/mm/fault.c needs to include asm/vsyscall.h to fix a
build error:

  arch/x86/mm/fault.c: In function '__bad_area_nosemaphore':
  arch/x86/mm/fault.c:728: error: 'VSYSCALL_START' undeclared (first use in this function)

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/mm/fault.c

index 247aae3dc008bdc78c58ff582fac3c61617b7f45..0d17c8c50acd54334b6c92335dad6e4c954ca18f 100644 (file)
@@ -17,6 +17,7 @@
 #include <asm/traps.h>                 /* dotraplinkage, ...           */
 #include <asm/pgalloc.h>               /* pgd_*(), ...                 */
 #include <asm/kmemcheck.h>             /* kmemcheck_*(), ...           */
+#include <asm/vsyscall.h>
 
 /*
  * Page fault error code bits: