public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.4.18pre4 cleanup in asm-i386/system.h
@ 2002-01-19 17:23 Olaf Hering
  0 siblings, 0 replies; only message in thread
From: Olaf Hering @ 2002-01-19 17:23 UTC (permalink / raw)
  To: linux-kernel

Hi,

the asm-i386/system.h includes <linux/init.h> without real need.
Some driver module authors do sometimes forget to include linux/init.h
in their code with the result that it can not compile on other archs.


--- linux-2.4.18pre4/include/asm-i386/system.h.old      Thu Nov 22 20:46:18 2001
+++ linux-2.4.18pre4/include/asm-i386/system.h  Sat Jan 19 17:40:51 2002
@@ -3,9 +3,8 @@
 
 #include <linux/config.h>
 #include <linux/kernel.h>
-#include <linux/init.h>
 #include <asm/segment.h>
-#include <linux/bitops.h> /* for LOCK_PREFIX */
+#include <asm/bitops.h> /* for LOCK_PREFIX */
 
 #ifdef __KERNEL__
 


Gruss Olaf

-- 
 $ man clone

BUGS
       Main feature not yet implemented...

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-01-19 17:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-19 17:23 [PATCH] 2.4.18pre4 cleanup in asm-i386/system.h Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox