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

From: Adrian Bunk
Date: Fri Nov 04 2005 - 10:59:38 EST


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


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

---

This patch was already sent on:
- 3 Oct 2005

--- 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/