summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2021-01-05 23:34:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-04 13:37:38 +0300
commit8dbfa4e99c5f5d4ed50b62dbb74fcf6effe29755 (patch)
tree7450f6970d1d1753761ebb8b40c941caad47dcc2 /init
parenta0e0d3d8245e64787813bc15e9bf42670e0044fd (diff)
downloadlinux-8dbfa4e99c5f5d4ed50b62dbb74fcf6effe29755.tar.xz
MIPS: c-r4k: Fix section mismatch for loongson2_sc_init
[ Upstream commit c58734eee6a2151ba033c0dcb31902c89e310374 ] 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 <natechancellor@gmail.com> Reviewed-by: Huacai Chen <chenhuacai@kernel.org> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions