Skip to contentSkip to conversation

ppc32: enable use of early_param

PATCH New Paul Mackerras 1 participant 1 message May 17, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc32: enable use of early_param

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

---
commit d9aa16f3736be7e3ff97ead1a710b8061e9990f8
tree ad05fc7300bdd058ecfb5cbbf022c4c19f4e13c5
parent 704da4a5c793087584fa5d0ed73440dd4ac44294
author Kumar K. Gala <[email protected]> Mon, 16 May 2005 20:29:56 -0500 committer Kumar K. Gala <[email protected]> Mon, 16 May 2005 20:29:56 -0500

 ppc/kernel/setup.c |    2 ++
 1 files changed, 2 insertions(+)
arch/ppc/kernel/setup.c (mode:100644) +2 -0
Index: arch/ppc/kernel/setup.c
===================================================================
@@ -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);