OrangePi_CM5/arch/mips/mm
Nathan Chancellor 8dbfa4e99c 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: 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>
2021-03-04 11:37:38 +01:00
..
Makefile
…
c-octeon.c
…
c-r3k.c
…
c-r4k.c MIPS: c-r4k: Fix section mismatch for loongson2_sc_init 2021-03-04 11:37:38 +01:00
c-tx39.c
…
cache.c
…
cerr-sb1.c
…
cex-gen.S
…
cex-oct.S
…
cex-sb1.S
…
context.c
…
dma-noncoherent.c dma-mapping: merge <linux/dma-noncoherent.h> into <linux/dma-map-ops.h> 2020-10-06 07:07:06 +02:00
extable.c
…
fault.c mm/mips: use general page fault accounting 2020-08-12 10:58:03 -07:00
highmem.c
…
hugetlbpage.c
…
init.c treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
ioremap.c
…
ioremap64.c
…
mmap.c
…
page-funcs.S
…
page.c MIPS: Convert R4600_V2_HIT_CACHEOP into a config option 2020-09-07 22:23:48 +02:00
pgtable-32.c
…
pgtable-64.c
…
pgtable.c
…
sc-debugfs.c
…
sc-ip22.c
…
sc-mips.c mips: fix Section mismatch in reference 2021-01-19 18:27:20 +01:00
sc-r5k.c
…
sc-rm7k.c
…
tlb-funcs.S
…
tlb-r3k.c
…
tlb-r4k.c MIPS: export has_transparent_hugepage() for modules 2020-10-27 12:44:34 +01:00
tlbex-fault.S
…
tlbex.c MIPS: Get rid of BCM1250_M3_WAR 2020-09-07 22:25:03 +02:00
uasm-micromips.c
…
uasm-mips.c
…
uasm.c MIPS: Get rid of CAVIUM_OCTEON_DCACHE_PREFETCH_WAR 2020-09-07 22:25:16 +02:00