projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae85ac7
)
metag: add __init to metag_cache_probe()
author
James Hogan
<james.hogan@imgtec.com>
Thu, 31 Jan 2013 11:04:49 +0000
(11:04 +0000)
committer
James Hogan
<james.hogan@imgtec.com>
Sat, 2 Mar 2013 20:09:56 +0000
(20:09 +0000)
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>
arch/metag/mm/cache.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/metag/mm/cache.c
b/arch/metag/mm/cache.c
index b713ec01c204770b9f39c6f4926af5591d950af8..89da74a80ea728a549ccefd0c2ae1af502d324c7 100644
(file)
--- 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);