[RFC 6/8] params: move core_param() parsing to before setup_arch.

From: Rusty Russell
Date: Mon Dec 01 2008 - 07:57:23 EST



Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/