diff options
author | Guo Ren <guoren@linux.alibaba.com> | 2020-02-26 05:23:26 +0300 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2020-03-08 15:55:14 +0300 |
commit | 12879bda3c2a974b7e4fe199a9c21f0c5f6bca04 (patch) | |
tree | 86d564a64ba7c817e8e76c968eb28ac2f0d9519b /arch/csky/abiv2/fpu.c | |
parent | 98d54f81e36ba3bf92172791eba5ca5bd813989b (diff) | |
download | linux-12879bda3c2a974b7e4fe199a9c21f0c5f6bca04.tar.xz |
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>
Diffstat (limited to 'arch/csky/abiv2/fpu.c')
-rw-r--r-- | arch/csky/abiv2/fpu.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/csky/abiv2/fpu.c b/arch/csky/abiv2/fpu.c index 86d187d4e5af..5acc5c2e544e 100644 --- a/arch/csky/abiv2/fpu.c +++ b/arch/csky/abiv2/fpu.c @@ -10,11 +10,6 @@ #define MTCR_DIST 0xC0006420 #define MFCR_DIST 0xC0006020 -void __init init_fpu(void) -{ - mtcr("cr<1, 2>", 0); -} - /* * fpu_libc_helper() is to help libc to excute: * - mfcr %a, cr<1, 2> |