]> git.baikalelectronics.ru Git - kernel.git/commit
csky: Fixup init_fpu compile warning with __init
authorGuo Ren <guoren@linux.alibaba.com>
Wed, 26 Feb 2020 02:23:26 +0000 (10:23 +0800)
committerGuo Ren <guoren@linux.alibaba.com>
Sun, 8 Mar 2020 12:55:14 +0000 (20:55 +0800)
commitc3663f3a91ad1f3db3d95969f86d75f55c054a9f
tree86d564a64ba7c817e8e76c968eb28ac2f0d9519b
parentfa91a3b5a2e53a995f641241b83c1d4bd4799307
csky: Fixup init_fpu compile warning with __init

WARNING: vmlinux.o(.text+0x2366): Section mismatch in reference from the
function csky_start_secondary() to the function .init.text:init_fpu()

The function csky_start_secondary() references
the function __init init_fpu().
This is often because csky_start_secondary lacks a __init
annotation or the annotation of init_fpu is wrong.

Reported-by: Lu Chongzhi <chongzhi.lcz@alibaba-inc.com>
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
arch/csky/abiv2/fpu.c
arch/csky/abiv2/inc/abi/fpu.h
arch/csky/kernel/smp.c