Skip to contentSkip to conversation

2.4.18pre4 cleanup in asm-i386/system.h

PATCH New Olaf Hering 1 participant 1 message Jan 19, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.4.18pre4 cleanup in asm-i386/system.h

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.

include/asm-i386/system.h Sat Jan 19 17:40:51 2002 renamed from include/asm-i386/system.h.old Thu Nov 22 20:46:18 2001 +1 -2
@@ -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

Signature · 4 lines
 $ man clone

BUGS
       Main feature not yet implemented...