[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200707141600.43551.mb@bu3sch.de>
Date: Sat, 14 Jul 2007 16:00:43 +0200
From: Michael Buesch <mb@...sch.de>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: "linux-kernel" <linux-kernel@...r.kernel.org>
Subject: [PATCH] pure_initcall ID inconsistency
pure_initcall uses the same ID as core_initcall.
I guess that's a typo and it should use its own ID.
Signed-off-by: Michael Buesch <mb@...sch.de>
Index: linux-2.6/include/linux/init.h
===================================================================
--- linux-2.6.orig/include/linux/init.h 2007-05-26 19:56:35.000000000 +0200
+++ linux-2.6/include/linux/init.h 2007-07-14 15:59:07.000000000 +0200
@@ -114,7 +114,7 @@ void prepare_namespace(void);
*
* This only exists for built-in code, not for modules.
*/
-#define pure_initcall(fn) __define_initcall("0",fn,1)
+#define pure_initcall(fn) __define_initcall("0",fn,0)
#define core_initcall(fn) __define_initcall("1",fn,1)
#define core_initcall_sync(fn) __define_initcall("1s",fn,1s)
--
Greetings Michael.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists