Skip to content

Commit

Permalink
Make initcall_debug a core_param
Browse files Browse the repository at this point in the history
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: Rusty Russell <[email protected]>
Acked-by: Arjan van de Ven <[email protected]>
  • Loading branch information
rustyrussell committed Oct 21, 2008
1 parent 67e67ce commit d0ea3d7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,13 +697,7 @@ asmlinkage void __init start_kernel(void)
}

static int initcall_debug;

static int __init initcall_debug_setup(char *str)
{
initcall_debug = 1;
return 1;
}
__setup("initcall_debug", initcall_debug_setup);
core_param(initcall_debug, initcall_debug, bool, 0644);

int do_one_initcall(initcall_t fn)
{
Expand Down

0 comments on commit d0ea3d7

Please sign in to comment.