summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-09-05 19:19:06 +0530
committerVineet Gupta <vgupta@synopsys.com>2013-09-05 19:19:06 +0530
commit07b9b65147d1d7cc03b9ff1e1f3b1c163ba4d067 (patch)
tree10ce7c6b289a04725173ed61af221d75f0f7a144 /arch/arc
parentcc80ae38bfb698559c8f728d9f0c7b20ed4a59e6 (diff)
downloadtalos-obmc-linux-07b9b65147d1d7cc03b9ff1e1f3b1c163ba4d067.tar.gz
talos-obmc-linux-07b9b65147d1d7cc03b9ff1e1f3b1c163ba4d067.zip
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>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/include/asm/cache.h2
-rw-r--r--arch/arc/include/asm/mmu.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/include/asm/cache.h b/arch/arc/include/asm/cache.h
index 5802849a6cae..e4abdaac6f9f 100644
--- a/arch/arc/include/asm/cache.h
+++ b/arch/arc/include/asm/cache.h
@@ -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__ */
diff --git a/arch/arc/include/asm/mmu.h b/arch/arc/include/asm/mmu.h
index c82db8bd7270..c2663b32866b 100644
--- a/arch/arc/include/asm/mmu.h
+++ b/arch/arc/include/asm/mmu.h
@@ -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__ */
OpenPOWER on IntegriCloud