projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d974ac2
)
sh: add weak l2_cache_init function.
author
Kuninori Morimoto
<morimoto.kuninori@renesas.com>
Tue, 2 Jun 2009 02:49:20 +0000
(
02:49
+0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 2 Jun 2009 03:12:55 +0000
(12:12 +0900)
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/init.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/kernel/cpu/init.c
b/arch/sh/kernel/cpu/init.c
index d29e69c156f0a75a48cd0322e688c1b5d6f3add8..ad85421099cdd49ba32b48c28065c90004e9a3a5 100644
(file)
--- a/
arch/sh/kernel/cpu/init.c
+++ b/
arch/sh/kernel/cpu/init.c
@@
-62,6
+62,11
@@
static void __init speculative_execution_init(void)
#define speculative_execution_init() do { } while (0)
#endif
+/* 2nd-level cache init */
+void __uses_jump_to_uncached __attribute__ ((weak)) l2_cache_init(void)
+{
+}
+
/*
* Generic first-level cache init
*/
@@
-146,6
+151,8
@@
static void __uses_jump_to_uncached cache_init(void)
flags &= ~CCR_CACHE_ENABLE;
#endif
+ l2_cache_init();
+
ctrl_outl(flags, CCR);
back_to_cached();
}