]> err.no Git - linux-2.6/commitdiff
[PATCH] ppc32: enable use of early_param
authorPaul Mackerras <paulus@samba.org>
Tue, 17 May 2005 06:48:39 +0000 (16:48 +1000)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 17 May 2005 16:27:05 +0000 (09:27 -0700)
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@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/kernel/setup.c

index 5dfb42f1a1529d561bf73b5b5c1411a3e51f6402..309797d7f96db35ab84484d17307d05766ec58b8 100644 (file)
@@ -753,6 +753,8 @@ void __init setup_arch(char **cmdline_p)
        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);