aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2013-01-31 06:04:49 -0500
committerJames Hogan <james.hogan@imgtec.com>2013-03-02 15:09:56 -0500
commit0a38a8adc5d479c1e59a82d1fcee3bdf59b85ef3 (patch)
tree1284cb30541ef39b7c4a5a97891a482e9ad160c1
parentae85ac71b7433fa974759109c4380c620258f07f (diff)
metag: add __init to metag_cache_probe()
metag_cache_probe() is only called from setup_arch(), so add the __init attribute to it. Signed-off-by: James Hogan <james.hogan@imgtec.com>
-rw-r--r--arch/metag/mm/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/metag/mm/cache.c b/arch/metag/mm/cache.c
index b713ec01c204..89da74a80ea7 100644
--- a/arch/metag/mm/cache.c
+++ b/arch/metag/mm/cache.c
@@ -42,7 +42,7 @@ static unsigned char icache_sets_log2 = DEFAULT_CACHE_WAYS_LOG2;
42 * Probe the L1 cache configuration to aid the L1 physical cache flushing 42 * Probe the L1 cache configuration to aid the L1 physical cache flushing
43 * functions. 43 * functions.
44 */ 44 */
45void metag_cache_probe(void) 45void __init metag_cache_probe(void)
46{ 46{
47#ifndef CONFIG_METAG_META12 47#ifndef CONFIG_METAG_META12
48 int coreid = metag_in32(METAC_CORE_ID); 48 int coreid = metag_in32(METAC_CORE_ID);