Skip to content

Commit d0ea3d7

Browse files
committed
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: Rusty Russell <rusty@rustcorp.com.au> Acked-by: Arjan van de Ven <arjan@linux.intel.com>
1 parent 67e67ce commit d0ea3d7

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

‎init/main.c‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -697,13 +697,7 @@ asmlinkage void __init start_kernel(void)
697697
}
698698

699699
static int initcall_debug;
700-
701-
static int __init initcall_debug_setup(char *str)
702-
{
703-
initcall_debug = 1;
704-
return 1;
705-
}
706-
__setup("initcall_debug", initcall_debug_setup);
700+
core_param(initcall_debug, initcall_debug, bool, 0644);
707701

708702
int do_one_initcall(initcall_t fn)
709703
{

0 commit comments

Comments
 (0)