From 0a38a8adc5d479c1e59a82d1fcee3bdf59b85ef3 Mon Sep 17 00:00:00 2001 From: James Hogan Date: Thu, 31 Jan 2013 11:04:49 +0000 Subject: [PATCH] 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 --- arch/metag/mm/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; * Probe the L1 cache configuration to aid the L1 physical cache flushing * functions. */ -void metag_cache_probe(void) +void __init metag_cache_probe(void) { #ifndef CONFIG_METAG_META12 int coreid = metag_in32(METAC_CORE_ID); -- 2.34.1