Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 -7
+1 -7
init/main.c
··· 697 697 } 698 698 699 699 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); 707 701 708 702 int do_one_initcall(initcall_t fn) 709 703 {