- Remove saved_command_line (and saving of the command line).
- Call parse_early_options
---
linux-2.6-early_setup-trini/arch/sparc64/kernel/setup.c | 3 +--
linux-2.6-early_setup-trini/arch/sparc64/kernel/vmlinux.lds.S | 3 +++
2 files changed, 4 insertions(+), 2 deletions(-)
diff -puN arch/sparc64/kernel/setup.c~sparc64 arch/sparc64/kernel/setup.c
--- linux-2.6-early_setup/arch/sparc64/kernel/setup.c~sparc64 2004-03-24 16:15:09.878963088 -0700
+++ linux-2.6-early_setup-trini/arch/sparc64/kernel/setup.c 2004-03-24 16:15:09.883961962 -0700
@@ -451,7 +451,6 @@ extern unsigned short ram_flags;
extern int root_mountflags;
-char saved_command_line[256];
char reboot_command[256];
static struct pt_regs fake_swapper_regs = { { 0, }, 0, 0, 0, 0 };
@@ -476,7 +475,7 @@ void __init setup_arch(char **cmdline_p)
/* Initialize PROM console and command line. */
*cmdline_p = prom_getbootargs();
- strcpy(saved_command_line, *cmdline_p);
+ parse_early_options(cmdline_p);
printk("ARCH: SUN4U\n");
diff -puN arch/sparc64/kernel/vmlinux.lds.S~sparc64 arch/sparc64/kernel/vmlinux.lds.S
--- linux-2.6-early_setup/arch/sparc64/kernel/vmlinux.lds.S~sparc64 2004-03-24 16:15:09.880962638 -0700
+++ linux-2.6-early_setup-trini/arch/sparc64/kernel/vmlinux.lds.S 2004-03-24 16:15:09.883961962 -0700
@@ -51,6 +51,9 @@ SECTIONS
__setup_start = .;
.init.setup : { *(.init.setup) }
__setup_end = .;
+ __early_begin = .;
+ __early_param : { *(__early_param) }
+ __early_end = .;
__start___param = .;
__param : { *(__param) }
__stop___param = .;
_