[PATCH] powerpc: Parse early parameters earlier
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 17 May 2006 08:00:45 +0000 (18:00 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 19 May 2006 05:02:13 +0000 (15:02 +1000)
commit846f77b08c8301682ded5ce127c56397327a60d0
treec155737af3eceab34c621cc6930145062323eef8
parent480f6f35a149802a94ad5c1a2673ed6ec8d2c158
[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>
arch/powerpc/kernel/prom.c
arch/powerpc/kernel/setup_32.c
arch/powerpc/kernel/setup_64.c