mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-14 12:37:32 +00:00
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>
This commit is contained in:
parent
ae85ac71b7
commit
0a38a8adc5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
* Probe the L1 cache configuration to aid the L1 physical cache flushing
|
||||||
* functions.
|
* functions.
|
||||||
*/
|
*/
|
||||||
void metag_cache_probe(void)
|
void __init metag_cache_probe(void)
|
||||||
{
|
{
|
||||||
#ifndef CONFIG_METAG_META12
|
#ifndef CONFIG_METAG_META12
|
||||||
int coreid = metag_in32(METAC_CORE_ID);
|
int coreid = metag_in32(METAC_CORE_ID);
|
||||||
|
|
Loading…
Reference in a new issue