public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pure_initcall ID inconsistency
@ 2007-07-14 14:00 Michael Buesch
  0 siblings, 0 replies; only message in thread
From: Michael Buesch @ 2007-07-14 14:00 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

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@bu3sch.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.

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

only message in thread, other threads:[~2007-07-14 14:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-14 14:00 [PATCH] pure_initcall ID inconsistency Michael Buesch

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