Messages in this thread Patch in this message | | | From | Rusty Russell <> | Date | Sun, 19 Oct 2008 22:20:25 -0500 | Subject | [PATCH 4/5] 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> Cc: Arjan van de Ven <arjan@infradead.org> --- init/main.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
diff -r c498374c07e1 init/main.c --- a/init/main.c Mon Aug 25 15:06:35 2008 +1000 +++ b/init/main.c Mon Aug 25 17:20:43 2008 +1000 @@ -692,13 +692,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) {
| |