diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-04-09 17:18:12 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-04-09 17:27:00 +0530 |
commit | 30ecee8cdd05415e5602bd755d9210e1c5a5b64d (patch) | |
tree | e0b758c46143064baf5dafef3637d6df1b0ace06 /arch/arc/mm/cache_arc700.c | |
parent | 5b00029e30ef821152fa82502658e538172d6b75 (diff) | |
download | blackbird-op-linux-30ecee8cdd05415e5602bd755d9210e1c5a5b64d.tar.gz blackbird-op-linux-30ecee8cdd05415e5602bd755d9210e1c5a5b64d.zip |
ARC: [build] Fix warnings with CONFIG_DEBUG_SECTION_MISMATCH
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/mm/cache_arc700.c')
-rw-r--r-- | arch/arc/mm/cache_arc700.c | 4 |
1 files changed, 2 insertions, 2 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) * the cpuinfo structure for later use. * No Validation done here, simply read/convert the BCRs */ -void __init read_decode_cache_bcr(void) +void __cpuinit read_decode_cache_bcr(void) { struct bcr_cache ibcr, dbcr; struct cpuinfo_arc_cache *p_ic, *p_dc; @@ -141,7 +141,7 @@ void __init read_decode_cache_bcr(void) * 3. Enable the Caches, setup default flush mode for D-Cache * 3. Calculate the SHMLBA used by user space */ -void __init arc_cache_init(void) +void __cpuinit arc_cache_init(void) { unsigned int temp; unsigned int cpu = smp_processor_id(); |