]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
powerpc: Reflect the used arguments in machine_init() prototype
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Sun, 12 Oct 2008 04:08:14 +0000 (04:08 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 13 Oct 2008 23:35:26 +0000 (10:35 +1100)
The "phys" argument to machine_init() isn't used and isn't likely to
ever be so let's remove it.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/setup_32.c

index 1e0df1658d3f6c2b045a66d4a58e36a84487a05a..c1a27626a940d1b49c990bbcc3f3f2c5f538b097 100644 (file)
@@ -111,7 +111,7 @@ notrace unsigned long __init early_init(unsigned long dt_ptr)
  * This is called very early on the boot process, after a minimal
  * MMU environment has been set up but before MMU_init is called.
  */
-notrace void __init machine_init(unsigned long dt_ptr, unsigned long phys)
+notrace void __init machine_init(unsigned long dt_ptr)
 {
        /* Enable early debugging if any specified (see udbg.h) */
        udbg_early_init();