arch/i386/kernel/ldt.c should #include <asm/mmu_context.h>
PATCH 1/1 arch/i386/kernel/ldt.c should #include <asm/mmu_context.h>
Every file should #include the header files containing the prototypes of it's global functions
Signed-off-by Adrian Bunk <[email protected]>
arch/i386/kernel/ldt.c renamed from arch/i386/kernel/ldt.c.old +1 -0
@@ -18,6 +18,7 @@#include <asm/system.h> #include <asm/ldt.h> #include <asm/desc.h> +#include <asm/mmu_context.h> #ifdef CONFIG_SMP /* avoids "defined but not used" warnig */ static void flush_ldt (void *null)