mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
MIPS: c-r4k: Fix section mismatch for loongson2_sc_init
[ Upstream commitc58734eee6] 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 commitad4fddef5f("mips: fix Section mismatch in reference") but it was missed. Remove the improper __init annotation like that commit did. Fixes:078a55fc82("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>
This commit is contained in:
parent
a0e0d3d824
commit
8dbfa4e99c
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue