]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: PNX8550: Fix section mismatch
authorRalf Baechle <ralf@linux-mips.org>
Thu, 28 Jul 2011 15:15:46 +0000 (16:15 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 28 Jul 2011 15:15:46 +0000 (16:15 +0100)
commit2d2b2a77ee87d8fed5802d68d8a08e0025c1ad21
tree3bc287269f1a409061345698726d68a660d3e68e
parentb72ee6ebd06453f7ea3b6c2249b7aba60170a4fb
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