Commit d0ea3d7d authored by Rusty Russell's avatar Rusty Russell

Make initcall_debug a core_param

This is the one I really wanted: now it effects module loading, it
makes sense to be able to flip it after boot.
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Acked-by: default avatarArjan van de Ven <arjan@linux.intel.com>
parent 67e67cea
...@@ -697,13 +697,7 @@ asmlinkage void __init start_kernel(void) ...@@ -697,13 +697,7 @@ asmlinkage void __init start_kernel(void)
} }
static int initcall_debug; static int initcall_debug;
core_param(initcall_debug, initcall_debug, bool, 0644);
static int __init initcall_debug_setup(char *str)
{
initcall_debug = 1;
return 1;
}
__setup("initcall_debug", initcall_debug_setup);
int do_one_initcall(initcall_t fn) int do_one_initcall(initcall_t fn)
{ {
......
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