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

Olaf Hering (olh@suse.de)
Sat, 19 Jan 2002 18:23:42 +0100


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... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/