LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 4/5] Make initcall_debug a core_param
@ 2008-10-20  3:20 Rusty Russell
  2008-10-20  3:50 ` Arjan van de Ven
  0 siblings, 1 reply; 2+ messages in thread
From: Rusty Russell @ 2008-10-20  3:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: Arjan van de Ven


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)
 {


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 4/5] Make initcall_debug a core_param
  2008-10-20  3:20 [PATCH 4/5] Make initcall_debug a core_param Rusty Russell
@ 2008-10-20  3:50 ` Arjan van de Ven
  0 siblings, 0 replies; 2+ messages in thread
From: Arjan van de Ven @ 2008-10-20  3:50 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-kernel

On Sun, 19 Oct 2008 22:20:25 -0500
Rusty Russell <rusty@rustcorp.com.au> 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 <arjan@linux.intel.com>


-- 
Arjan van de Ven 	Intel Open Source Technology Centre
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-20  3:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-20  3:20 [PATCH 4/5] Make initcall_debug a core_param Rusty Russell
2008-10-20  3:50 ` Arjan van de Ven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).