public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC 6/8] params: move core_param() parsing to before setup_arch.
@ 2008-12-01 12:56 Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2008-12-01 12:56 UTC (permalink / raw)
  To: linux-kernel


Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
 init/main.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/init/main.c b/init/main.c
--- a/init/main.c
+++ b/init/main.c
@@ -563,6 +563,9 @@ asmlinkage void __init start_kernel(void
 asmlinkage void __init start_kernel(void)
 {
 	arch_get_boot_command_line();
+	parse_args("Core params", boot_command_line, __start___core_param,
+		   __stop___core_param - __start___core_param,
+		   unknown_core_ok, true);
 
 	smp_setup_processor_id();
 
@@ -592,9 +595,6 @@ asmlinkage void __init start_kernel(void
 	setup_arch();
 	mm_init_owner(&init_mm, &init_task);
 	setup_command_line();
-	parse_args("Core params", boot_command_line, __start___core_param,
-		   __stop___core_param - __start___core_param,
-		   unknown_core_ok, true);
 
 	unwind_setup();
 	setup_per_cpu_areas();



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-01 12:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-01 12:56 [RFC 6/8] params: move core_param() parsing to before setup_arch Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox