Make initcall_debug a core_param
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 <[email protected]>
Cc Arjan van de Ven <[email protected]>
--- init/main.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
init/main.c +1 -7
@@ -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) {
Quoted 3 lines · On Sun, 19 Oct 2008 22:20:25 -0500 Rusty Russell <[email protected]> wrote:
This is the one I really wanted: now it effects module loading, it makes sense to be able to flip it after boot.
makes total sense to me
Acked-by Arjan van de Ven <[email protected]>
Signature · 3 lines
Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org