powerpc: Fix section mismatch warning
authorFabian Frederick <fabf@skynet.be>
Wed, 29 Oct 2014 20:14:27 +0000 (21:14 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 30 Oct 2014 00:22:33 +0000 (11:22 +1100)
commit94966b712c6875939fcdd83cb2707a797e131a43
treee6d8e005c53bb5626f1bdf3e7db5503694599b00
parentd506aa68c23db708ad45ca8c17f0d7f5d7029a37
powerpc: Fix section mismatch warning

Add __init to MMU_setup() which uses __initdata boot_command_line.
Also MMU_setup() is only called from MMU_init(), which is also __init.

Warning appeared since commit 3e47d1474c2b.

Fixes: 3e47d1474c2b ("powerpc: Remove powerpc specific cmd_line")
Signed-off-by: Fabian Frederick <fabf@skynet.be>
[mpe: Update changelog]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/init_32.c