提交 0a38a8ad 编写于 作者: J James Hogan

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: NJames Hogan <james.hogan@imgtec.com>
上级 ae85ac71
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册