]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Make initcall_debug a core_param
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 22 Oct 2008 15:00:23 +0000 (10:00 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 21 Oct 2008 23:00:24 +0000 (10:00 +1100)
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>
init/main.c

index 3e17a3bafe60cf2ccf85fc5bc83fd393c76a6785..3d68aaaf6160614645cb2c346275aa752dc66d4e 100644 (file)
@@ -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)
 {