Patchwork [2/2] powerpc: reflect the used arguments in machine_init() prototype

login
register
mail settings
Submitter Sebastian Siewior
Date Oct. 12, 2008, 2:08 p.m.
Message ID <1223820494-7822-3-git-send-email-sebastian@breakpoint.cc>
Download mbox | patch
Permalink /patch/4093/
State Accepted
Commit cd301c7ba4bbb5a0ee6ebf13eb4a304f29b13847
Headers show

Comments

Sebastian Siewior - Oct. 12, 2008, 2:08 p.m.
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

phys arg isn't used. Kill it.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 arch/powerpc/kernel/setup_32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c
index 1e0df16..c1a2762 100644
--- a/arch/powerpc/kernel/setup_32.c
+++ b/arch/powerpc/kernel/setup_32.c
@@ -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();