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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


Signed-off-by: Adrian Bunk <[email protected]>

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux