[patch 7/22] __early_param for cris

From: trini
Date: Wed Mar 24 2004 - 19:49:01 EST



- Remove saved_command_line (and saving of the command line).
- Call parse_early_options


---

linux-2.6-early_setup-trini/arch/cris/kernel/setup.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/cris/kernel/setup.c~cris arch/cris/kernel/setup.c
--- linux-2.6-early_setup/arch/cris/kernel/setup.c~cris 2004-03-24 16:15:06.600701403 -0700
+++ linux-2.6-early_setup-trini/arch/cris/kernel/setup.c 2004-03-24 16:15:06.602700953 -0700
@@ -31,7 +31,6 @@ extern char _etext, _edata, _end;
#define COMMAND_LINE_SIZE 256

static char command_line[COMMAND_LINE_SIZE] = { 0, };
- char saved_command_line[COMMAND_LINE_SIZE];

extern const unsigned long text_start, edata; /* set by the linker script */
extern unsigned long dram_start, dram_end;
@@ -160,6 +159,7 @@ setup_arch(char **cmdline_p)
sizeof(command_line));
#endif
command_line[COMMAND_LINE_SIZE - 1] = '\0';
+ parse_early_options(cmdline_p);

/* give credit for the CRIS port */


_
-
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/