aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/init.h')
-rw-r--r--include/linux/init.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/init.h b/include/linux/init.h
index 6b951095a42..5e664f67161 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -191,6 +191,7 @@ extern bool initcall_debug;
191 * initializes variables that couldn't be statically initialized. 191 * initializes variables that couldn't be statically initialized.
192 * 192 *
193 * This only exists for built-in code, not for modules. 193 * This only exists for built-in code, not for modules.
194 * Keep main.c:initcall_level_names[] in sync.
194 */ 195 */
195#define pure_initcall(fn) __define_initcall("0",fn,0) 196#define pure_initcall(fn) __define_initcall("0",fn,0)
196 197
@@ -280,7 +281,7 @@ void __init parse_early_options(char *cmdline);
280 281
281#else /* MODULE */ 282#else /* MODULE */
282 283
283/* Don't use these in modules, but some people do... */ 284/* Don't use these in loadable modules, but some people do... */
284#define early_initcall(fn) module_init(fn) 285#define early_initcall(fn) module_init(fn)
285#define core_initcall(fn) module_init(fn) 286#define core_initcall(fn) module_init(fn)
286#define postcore_initcall(fn) module_init(fn) 287#define postcore_initcall(fn) module_init(fn)