]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ARM: realview,vexpress: fix section mismatch warning for pen_release
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 22 Jan 2011 17:22:34 +0000 (17:22 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 25 Jan 2011 15:08:01 +0000 (15:08 +0000)
commitec15038f2becd710eef7485baff7830abb1c9330
tree87e4f3923fa3f589765eddffbb332d3c235db7f8
parent1bae4ce27c9c90344f23c65ea6966c50ffeae2f5
ARM: realview,vexpress: fix section mismatch warning for pen_release

Fix two section mismatch warnings in the platform SMP bringup code for
Realview and Versatile Express:

WARNING: arch/arm/mach-realview/built-in.o(.text+0x8ac): Section mismatch in reference from the function write_pen_release() to the variable .cpuinit.data:pen_release
The function write_pen_release() references
the variable __cpuinitdata pen_release.
This is often because write_pen_release lacks a __cpuinitdata
annotation or the annotation of pen_release is wrong.

WARNING: arch/arm/mach-vexpress/built-in.o(.text+0x7b4): Section mismatch in reference from the function write_pen_release() to the variable .cpuinit.data:pen_release
The function write_pen_release() references
the variable __cpuinitdata pen_release.
This is often because write_pen_release lacks a __cpuinitdata
annotation or the annotation of pen_release is wrong.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-realview/platsmp.c
arch/arm/mach-vexpress/platsmp.c