[PATCH] ppc32: enable use of early_param

Kumar Gala galak at freescale.com
Tue May 17 11:31:54 EST 2005


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 at freescale.com>

---
commit d9aa16f3736be7e3ff97ead1a710b8061e9990f8
tree ad05fc7300bdd058ecfb5cbbf022c4c19f4e13c5
parent 704da4a5c793087584fa5d0ed73440dd4ac44294
author Kumar K. Gala <kumar.gala at freescale.com> Mon, 16 May 2005 20:29:56 -0500
committer Kumar K. Gala <kumar.gala at freescale.com> 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);



More information about the Linuxppc-dev mailing list