Commit 73dd1166 authored by Michael Buesch's avatar Michael Buesch Committed by Linus Torvalds

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: default avatarMichael Buesch <mb@bu3sch.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0e6ff158
...@@ -114,7 +114,7 @@ void prepare_namespace(void); ...@@ -114,7 +114,7 @@ void prepare_namespace(void);
* *
* This only exists for built-in code, not for modules. * 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(fn) __define_initcall("1",fn,1)
#define core_initcall_sync(fn) __define_initcall("1s",fn,1s) #define core_initcall_sync(fn) __define_initcall("1s",fn,1s)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment