[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200812012326.17801.rusty@rustcorp.com.au>
Date:	Mon, 1 Dec 2008 23:26:17 +1030
From:	Rusty Russell <rusty@...tcorp.com.au>
To:	linux-kernel@...r.kernel.org
Subject: [RFC 6/8] params: move core_param() parsing to before setup_arch.
Signed-off-by: Rusty Russell <rusty@...tcorp.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();
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists