Skip to contentSkip to conversation

arch/i386/kernel/ldt.c should #include <asm/mmu_context.h>

PATCH New Adrian Bunk 1 participant 1 message Oct 3, 2005

lore
Share & tools
lore
#0 lore raw

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

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)