]> Pileus Git - ~andy/linux/commit
sparc32,leon: fix section mismatch warning
authorSam Ravnborg <sam@ravnborg.org>
Fri, 25 May 2012 21:20:15 +0000 (21:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 May 2012 06:52:48 +0000 (23:52 -0700)
commit080f88837b489ff53c9ca62bc3adefdf74eb61e8
tree02170d7db0f208e40943c3731dd6a1c959c9d649
parent3107948848ebc52b98ffd853f72065338bbc57e2
sparc32,leon: fix section mismatch warning

Fix following warning:

WARNING: arch/sparc/kernel/built-in.o(.cpuinit.text+0x9f4): Section mismatch in reference from the function leon_callin() to the function .init.text:leon_configure_cache_smp()
The function __cpuinit leon_callin() references
a function __init leon_configure_cache_smp().
If leon_configure_cache_smp is only used by leon_callin then
annotate leon_configure_cache_smp with a matching annotation.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Daniel Hellstrom <daniel@gaisler.com>
Cc: Konrad Eisele <konrad@gaisler.com>
arch/sparc/kernel/leon_smp.c