Skip to content

Commit

Permalink
metag: add __init to metag_cache_probe()
Browse files Browse the repository at this point in the history
metag_cache_probe() is only called from setup_arch(), so add the __init
attribute to it.

Signed-off-by: James Hogan <[email protected]>
  • Loading branch information
James Hogan committed Mar 2, 2013
1 parent ae85ac7 commit 0a38a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/metag/mm/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0a38a8a

Please sign in to comment.