Commit 73dd1166af9a7a1e24554991236ddea740df0dbd
Committed by
Linus Torvalds
1 parent
0e6ff1580f
Exists in
master
and in
7 other branches
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@bu3sch.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
include/linux/init.h
... | ... | @@ -114,7 +114,7 @@ |
114 | 114 | * |
115 | 115 | * This only exists for built-in code, not for modules. |
116 | 116 | */ |
117 | -#define pure_initcall(fn) __define_initcall("0",fn,1) | |
117 | +#define pure_initcall(fn) __define_initcall("0",fn,0) | |
118 | 118 | |
119 | 119 | #define core_initcall(fn) __define_initcall("1",fn,1) |
120 | 120 | #define core_initcall_sync(fn) __define_initcall("1s",fn,1s) |