lkml.org 
[lkml]   [2008]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
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)
{


\
 
 \ /
  Last update: 2008-10-20 05:23    [W:3.174 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site