]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: PNX8550: Fix section mismatch
authorRalf Baechle <ralf@linux-mips.org>
Wed, 22 Jun 2011 09:13:17 +0000 (10:13 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 10 Oct 2011 17:06:17 +0000 (18:06 +0100)
commit6b4519f49506bb8be1f096fa2fe8377c6d3fde22
tree0aeada6552afb3b98ec312c15c294873aecd35a4
parent5a8c629b8e0ea364415b5d67b2061e68a0dba417
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