* [patch 5/22] __early_param for alpha
@ 2004-03-24 23:58 trini
0 siblings, 0 replies; only message in thread
From: trini @ 2004-03-24 23:58 UTC (permalink / raw)
To: linux-kernel; +Cc: akpm
- Remove saved_command_line (and saving of the command line).
- Call parse_early_options
---
linux-2.6-early_setup-trini/arch/alpha/kernel/setup.c | 3 +--
linux-2.6-early_setup-trini/arch/alpha/kernel/vmlinux.lds.S | 5 +++++
2 files changed, 6 insertions(+), 2 deletions(-)
diff -puN arch/alpha/kernel/setup.c~alpha arch/alpha/kernel/setup.c
--- linux-2.6-early_setup/arch/alpha/kernel/setup.c~alpha 2004-03-24 16:15:06.043826820 -0700
+++ linux-2.6-early_setup-trini/arch/alpha/kernel/setup.c 2004-03-24 16:15:06.048825694 -0700
@@ -115,7 +115,6 @@ static void get_sysnames(unsigned long,
char **, char **);
static char command_line[COMMAND_LINE_SIZE];
-char saved_command_line[COMMAND_LINE_SIZE];
/*
* The format of "screen_info" is strange, and due to early
@@ -527,8 +526,8 @@ setup_arch(char **cmdline_p)
} else {
strlcpy(command_line, COMMAND_LINE, sizeof command_line);
}
- strcpy(saved_command_line, command_line);
*cmdline_p = command_line;
+ parse_early_options(cmdline_p);
/*
* Process command-line arguments.
diff -puN arch/alpha/kernel/vmlinux.lds.S~alpha arch/alpha/kernel/vmlinux.lds.S
--- linux-2.6-early_setup/arch/alpha/kernel/vmlinux.lds.S~alpha 2004-03-24 16:15:06.045826370 -0700
+++ linux-2.6-early_setup-trini/arch/alpha/kernel/vmlinux.lds.S 2004-03-24 16:15:06.049825469 -0700
@@ -45,6 +45,11 @@ SECTIONS
__setup_end = .;
. = ALIGN(8);
+ __early_begin = .;
+ __early_param : { *(__early_param) }
+ __early_end = .;
+
+ . = ALIGN(8);
__start___param = .;
__param : { *(__param) }
__stop___param = .;
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-25 0:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-24 23:58 [patch 5/22] __early_param for alpha trini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®