From: H. Peter Anvin Date: Tue, 16 Aug 2011 05:28:56 +0000 (-0700) Subject: x86, vsyscall: Add missing to arch/x86/mm/fault.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fab1167c4698e3ff11ebb06281d78def6c53728b;p=linux-beck.git x86, vsyscall: Add missing to arch/x86/mm/fault.c arch/x86/mm/fault.c now depend on having the symbol VSYSCALL_START defined, which is best handled by including (it isn't unreasonable we may want other fixed addresses in this file in the future, and so it is cleaner than including directly.) This addresses an x86-64 allnoconfig build failure. On other configurations it was masked by an indirect path: -> -> -> ... however, the first such include is conditional on CONFIG_X86_LOCAL_APIC. Originally-by: Randy Dunlap Cc: Linus Torvalds Link: http://lkml.kernel.org/r/CA%2B55aFxsOMc9=p02r8-QhJ=h=Mqwckk4_Pnx9LQt5%2BfqMp_exQ@mail.gmail.com Signed-off-by: H. Peter Anvin --- diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index 247aae3dc008..f2d4c9da97b4 100644 --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c @@ -17,6 +17,7 @@ #include /* dotraplinkage, ... */ #include /* pgd_*(), ... */ #include /* kmemcheck_*(), ... */ +#include /* VSYSCALL_START */ /* * Page fault error code bits: