Skip to content

Commit 07b9b65

Browse files
committed
ARC: fix new Section mismatches in build (post __cpuinit cleanup)
--------------->8-------------------- WARNING: vmlinux.o(.text+0x708): Section mismatch in reference from the function read_arc_build_cfg_regs() to the function .init.text:read_decode_cache_bcr() WARNING: vmlinux.o(.text+0x702): Section mismatch in reference from the function read_arc_build_cfg_regs() to the function .init.text:read_decode_mmu_bcr() --------------->8-------------------- Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
1 parent cc80ae3 commit 07b9b65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/arc/include/asm/cache.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
extern void arc_cache_init(void);
5959
extern char *arc_cache_mumbojumbo(int cpu_id, char *buf, int len);
60-
extern void __init read_decode_cache_bcr(void);
60+
extern void read_decode_cache_bcr(void);
6161

6262
#endif /* !__ASSEMBLY__ */
6363

arch/arc/include/asm/mmu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void tlb_paranoid_check(unsigned int mm_asid, unsigned long address);
5959

6060
void arc_mmu_init(void);
6161
extern char *arc_mmu_mumbojumbo(int cpu_id, char *buf, int len);
62-
void __init read_decode_mmu_bcr(void);
62+
void read_decode_mmu_bcr(void);
6363

6464
#endif /* !__ASSEMBLY__ */
6565

0 commit comments

Comments
 (0)