aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/mm
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-04-09 07:48:12 -0400
committerVineet Gupta <vgupta@synopsys.com>2013-04-09 07:57:00 -0400
commit30ecee8cdd05415e5602bd755d9210e1c5a5b64d (patch)
treee0b758c46143064baf5dafef3637d6df1b0ace06 /arch/arc/mm
parent5b00029e30ef821152fa82502658e538172d6b75 (diff)
ARC: [build] Fix warnings with CONFIG_DEBUG_SECTION_MISMATCH
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/mm')
-rw-r--r--arch/arc/mm/cache_arc700.c4
-rw-r--r--arch/arc/mm/tlb.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/arc/mm/cache_arc700.c b/arch/arc/mm/cache_arc700.c
index 88d617d84234..c02aac649e84 100644
--- a/arch/arc/mm/cache_arc700.c
+++ b/arch/arc/mm/cache_arc700.c
@@ -109,7 +109,7 @@ char *arc_cache_mumbojumbo(int cpu_id, char *buf, int len)
109 * the cpuinfo structure for later use. 109 * the cpuinfo structure for later use.
110 * No Validation done here, simply read/convert the BCRs 110 * No Validation done here, simply read/convert the BCRs
111 */ 111 */
112void __init read_decode_cache_bcr(void) 112void __cpuinit read_decode_cache_bcr(void)
113{ 113{
114 struct bcr_cache ibcr, dbcr; 114 struct bcr_cache ibcr, dbcr;
115 struct cpuinfo_arc_cache *p_ic, *p_dc; 115 struct cpuinfo_arc_cache *p_ic, *p_dc;
@@ -141,7 +141,7 @@ void __init read_decode_cache_bcr(void)
141 * 3. Enable the Caches, setup default flush mode for D-Cache 141 * 3. Enable the Caches, setup default flush mode for D-Cache
142 * 3. Calculate the SHMLBA used by user space 142 * 3. Calculate the SHMLBA used by user space
143 */ 143 */
144void __init arc_cache_init(void) 144void __cpuinit arc_cache_init(void)
145{ 145{
146 unsigned int temp; 146 unsigned int temp;
147 unsigned int cpu = smp_processor_id(); 147 unsigned int cpu = smp_processor_id();
diff --git a/arch/arc/mm/tlb.c b/arch/arc/mm/tlb.c
index 9b9ce23f4ec3..f71a26d3f68e 100644
--- a/arch/arc/mm/tlb.c
+++ b/arch/arc/mm/tlb.c
@@ -434,7 +434,7 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long vaddress,
434 * the cpuinfo structure for later use. 434 * the cpuinfo structure for later use.
435 * No Validation is done here, simply read/convert the BCRs 435 * No Validation is done here, simply read/convert the BCRs
436 */ 436 */
437void __init read_decode_mmu_bcr(void) 437void __cpuinit read_decode_mmu_bcr(void)
438{ 438{
439 unsigned int tmp; 439 unsigned int tmp;
440 struct bcr_mmu_1_2 *mmu2; /* encoded MMU2 attr */ 440 struct bcr_mmu_1_2 *mmu2; /* encoded MMU2 attr */
@@ -480,7 +480,7 @@ char *arc_mmu_mumbojumbo(int cpu_id, char *buf, int len)
480 return buf; 480 return buf;
481} 481}
482 482
483void __init arc_mmu_init(void) 483void __cpuinit arc_mmu_init(void)
484{ 484{
485 char str[256]; 485 char str[256];
486 struct cpuinfo_arc_mmu *mmu = &cpuinfo_arc700[smp_processor_id()].mmu; 486 struct cpuinfo_arc_mmu *mmu = &cpuinfo_arc700[smp_processor_id()].mmu;