]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc32/chrp: fix section mismatch warning
authorLEROY Christophe <christophe.leroy@c-s.fr>
Mon, 8 Dec 2014 14:16:44 +0000 (15:16 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 31 Mar 2015 08:05:50 +0000 (19:05 +1100)
commit9ffea7c39abbd34b04b1eef0647e0b35a4482243
tree6da043c52c561694d2680c3150739f1f14583469
parentb4b8f4eaec34b53f534c7e9d2a7b24a3c6d38b4a
powerpc32/chrp: fix section mismatch warning

This patch fixes a section mismatch warning

WARNING: vmlinux.o(.text+0x213b6): Section mismatch in reference from the function chrp_init_early() to the variable .init.data:boot_command_line
The function chrp_init_early() references
the variable __initdata boot_command_line.
This is often because chrp_init_early lacks a __initdata
annotation or the annotation of boot_command_line is wrong.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/chrp/setup.c