aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/generic/init.c
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2021-01-05 13:34:56 -0700
committerThomas Bogendoerfer <[email protected]>2021-01-07 17:10:55 +0100
commitc58734eee6a2151ba033c0dcb31902c89e310374 (patch)
tree78aec87e2a8d67aa2a4a525de000309a9954a7dd /arch/mips/generic/init.c
parentd422c6c0644bccbb1ebeefffa51f35cec3019517 (diff)
MIPS: c-r4k: Fix section mismatch for loongson2_sc_init
When building with clang, the following section mismatch warning occurs: WARNING: modpost: vmlinux.o(.text+0x24490): Section mismatch in reference from the function r4k_cache_init() to the function .init.text:loongson2_sc_init() This should have been fixed with commit ad4fddef5f23 ("mips: fix Section mismatch in reference") but it was missed. Remove the improper __init annotation like that commit did. Fixes: 078a55fc824c ("MIPS: Delete __cpuinit/__CPUINIT usage from MIPS code") Link: https://github.com/ClangBuiltLinux/linux/issues/787 Signed-off-by: Nathan Chancellor <[email protected]> Reviewed-by: Huacai Chen <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'arch/mips/generic/init.c')
0 files changed, 0 insertions, 0 deletions