[PATCH] ppc32: enable use of early_param

From: Paul Mackerras
Date: Tue May 17 2005 - 01:56:08 EST


We need to call parse_early_param() early on to allow usage of
early_param() for command line parsing.

Signed-off-by: Kumar Gala <kumar.gala@xxxxxxxxxxxxx>
Signed-off-by: Paul Mackerras <paulus@xxxxxxxxx>

---
commit d9aa16f3736be7e3ff97ead1a710b8061e9990f8
tree ad05fc7300bdd058ecfb5cbbf022c4c19f4e13c5
parent 704da4a5c793087584fa5d0ed73440dd4ac44294
author Kumar K. Gala <kumar.gala@xxxxxxxxxxxxx> Mon, 16 May 2005 20:29:56 -0500
committer Kumar K. Gala <kumar.gala@xxxxxxxxxxxxx> Mon, 16 May 2005 20:29:56 -0500

ppc/kernel/setup.c | 2 ++
1 files changed, 2 insertions(+)

Index: arch/ppc/kernel/setup.c
===================================================================
--- 1702b9dd418707a930969079b460df0ace2f1c1a/arch/ppc/kernel/setup.c (mode:100644)
+++ ad05fc7300bdd058ecfb5cbbf022c4c19f4e13c5/arch/ppc/kernel/setup.c (mode:100644)
@@ -753,6 +753,8 @@
strlcpy(saved_command_line, cmd_line, COMMAND_LINE_SIZE);
*cmdline_p = cmd_line;

+ parse_early_param();
+
/* set up the bootmem stuff with available memory */
do_init_bootmem();
if ( ppc_md.progress ) ppc_md.progress("setup_arch: bootmem", 0x3eab);
-
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/