Home
last modified time | relevance | path

Searched hist:"8 f5d221b0641a9a16311a6e5c056a5b583ef0cbb" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/arc/include/asm/
H A Dsmp.hdiff 8f5d221b0641a9a16311a6e5c056a5b583ef0cbb Tue Oct 22 21:16:38 CDT 2013 Chen Gang <gang.chen@asianux.com> arc: remove '__init' for first_lines_of_secondary()

first_lines_of_secondary() is a '__init' function, but it may be called
by __cpu_up() by _cpu_up() by cpu_up() which is a normal export symbol
function. So recommend to remove '__init'.

The related warning (with allmodconfig):

MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0x315c): Section mismatch in reference from the function __cpu_up() to the function .init.text:first_lines_of_secondary()
The function __cpu_up() references
the function __init first_lines_of_secondary().
This is often because __cpu_up lacks a __init
annotation or the annotation of first_lines_of_secondary is wrong.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
/openbmc/linux/arch/arc/kernel/
H A Dhead.Sdiff 8f5d221b0641a9a16311a6e5c056a5b583ef0cbb Tue Oct 22 21:16:38 CDT 2013 Chen Gang <gang.chen@asianux.com> arc: remove '__init' for first_lines_of_secondary()

first_lines_of_secondary() is a '__init' function, but it may be called
by __cpu_up() by _cpu_up() by cpu_up() which is a normal export symbol
function. So recommend to remove '__init'.

The related warning (with allmodconfig):

MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0x315c): Section mismatch in reference from the function __cpu_up() to the function .init.text:first_lines_of_secondary()
The function __cpu_up() references
the function __init first_lines_of_secondary().
This is often because __cpu_up lacks a __init
annotation or the annotation of first_lines_of_secondary is wrong.

Signed-off-by: Chen Gang <gang.chen@asianux.com>