[2.6 patch] arch/i386/kernel/ldt.c should #include <asm/mmu_context.h>

From: Adrian Bunk
Date: Mon Oct 03 2005 - 12:32:42 EST


Every file should #include the header files containing the prototypes of
it's global functions


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.14-rc2-mm2-full/arch/i386/kernel/ldt.c.old 2005-10-02 02:07:44.000000000 +0200
+++ linux-2.6.14-rc2-mm2-full/arch/i386/kernel/ldt.c 2005-10-02 02:10:57.000000000 +0200
@@ -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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/