diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2006-05-17 04:00:45 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-05-19 01:02:13 -0400 |
commit | 846f77b08c8301682ded5ce127c56397327a60d0 (patch) | |
tree | c155737af3eceab34c621cc6930145062323eef8 /arch/powerpc/kernel/setup_64.c | |
parent | 480f6f35a149802a94ad5c1a2673ed6ec8d2c158 (diff) |
[PATCH] powerpc: Parse early parameters earlier
Currently we have call parse_early_param() earliyish, but not really very
early. In particular, it's not early enough to do things like mem=x or
crashkernel=blah, which is annoying.
So do it earlier. I've checked all the early param handlers, and none of them
look like they should have any trouble with this. I haven't tested the
booke_wdt ones though.
On 32-bit we were doing the CONFIG_CMDLINE logic twice, so don't.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/setup_64.c')
-rw-r--r-- | arch/powerpc/kernel/setup_64.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index a1923d917b30..6224624c3d38 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c | |||
@@ -414,11 +414,6 @@ void __init setup_system(void) | |||
414 | */ | 414 | */ |
415 | register_early_udbg_console(); | 415 | register_early_udbg_console(); |
416 | 416 | ||
417 | /* Save unparsed command line copy for /proc/cmdline */ | ||
418 | strlcpy(saved_command_line, cmd_line, COMMAND_LINE_SIZE); | ||
419 | |||
420 | parse_early_param(); | ||
421 | |||
422 | if (do_early_xmon) | 417 | if (do_early_xmon) |
423 | debugger(NULL); | 418 | debugger(NULL); |
424 | 419 | ||