Skip to content

Commit cd301c7

Browse files
Sebastian Andrzej Siewiorozbenh
authored andcommitted
powerpc: Reflect the used arguments in machine_init() prototype
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>
1 parent 8aa2659 commit cd301c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/powerpc/kernel/setup_32.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ notrace unsigned long __init early_init(unsigned long dt_ptr)
111111
* This is called very early on the boot process, after a minimal
112112
* MMU environment has been set up but before MMU_init is called.
113113
*/
114-
notrace void __init machine_init(unsigned long dt_ptr, unsigned long phys)
114+
notrace void __init machine_init(unsigned long dt_ptr)
115115
{
116116
/* Enable early debugging if any specified (see udbg.h) */
117117
udbg_early_init();

0 commit comments

Comments
 (0)