Skip to content

Commit

Permalink
ARC: fix new Section mismatches in build (post __cpuinit cleanup)
Browse files Browse the repository at this point in the history
--------------->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>
  • Loading branch information
Vineet Gupta committed Sep 5, 2013
1 parent cc80ae3 commit 07b9b65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arc/include/asm/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

extern void arc_cache_init(void);
extern char *arc_cache_mumbojumbo(int cpu_id, char *buf, int len);
extern void __init read_decode_cache_bcr(void);
extern void read_decode_cache_bcr(void);

#endif /* !__ASSEMBLY__ */

Expand Down
2 changes: 1 addition & 1 deletion arch/arc/include/asm/mmu.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void tlb_paranoid_check(unsigned int mm_asid, unsigned long address);

void arc_mmu_init(void);
extern char *arc_mmu_mumbojumbo(int cpu_id, char *buf, int len);
void __init read_decode_mmu_bcr(void);
void read_decode_mmu_bcr(void);

#endif /* !__ASSEMBLY__ */

Expand Down

0 comments on commit 07b9b65

Please sign in to comment.