All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] arch/i386/kernel/ldt.c should #include <asm/mmu_context.h>
@ 2005-10-03 17:32 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-10-03 17:32 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel

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


Signed-off-by: Adrian Bunk <bunk@stusta.de>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [2.6 patch] arch/i386/kernel/ldt.c should #include <asm/mmu_context.h>
@ 2005-11-04 15:59 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-11-04 15:59 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Ingo Molnar, linux-kernel

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


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-04 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-03 17:32 [2.6 patch] arch/i386/kernel/ldt.c should #include <asm/mmu_context.h> Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2005-11-04 15:59 Adrian Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.