MIPS: PNX8550: Fix section mismatch
commit870e1a4904b4b1a6d6eaef77ec4c63c27685b438
authorRalf Baechle <ralf@linux-mips.org>
Wed, 22 Jun 2011 09:13:17 +0000 (22 10:13 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 22 Jun 2011 09:13:17 +0000 (22 10:13 +0100)
tree8fd8faf7b7b15f157760cd9fa14a3eebcc70898d
parent869d76fe05a6ada53592aa519f1d4690a37b4395
MIPS: PNX8550: Fix section mismatch

Triggered by pnx8550-jbs_defconfig and pnx8550-stb810_defconfig:

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

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pnx8550/common/prom.c