diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-10-22 11:00:23 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-10-21 19:00:24 -0400 |
commit | d0ea3d7d286aeda2a9216d76424abc285b87b7b4 (patch) | |
tree | b0e12906ab0ec66e36e51bee78b5d199edb887c4 /init | |
parent | 67e67ceaac5bf55dbdceb704ff2d763d438b5373 (diff) |
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>
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/init/main.c b/init/main.c index 3e17a3bafe60..3d68aaaf6160 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -697,13 +697,7 @@ asmlinkage void __init start_kernel(void) | |||
697 | } | 697 | } |
698 | 698 | ||
699 | static int initcall_debug; | 699 | static int initcall_debug; |
700 | 700 | core_param(initcall_debug, initcall_debug, bool, 0644); | |
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); | ||
707 | 701 | ||
708 | int do_one_initcall(initcall_t fn) | 702 | int do_one_initcall(initcall_t fn) |
709 | { | 703 | { |