diff options
Diffstat (limited to 'arch/sh/kernel/cpu/init.c')
-rw-r--r-- | arch/sh/kernel/cpu/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/kernel/cpu/init.c b/arch/sh/kernel/cpu/init.c index fd1688e6c61c..0f0c76a842e4 100644 --- a/arch/sh/kernel/cpu/init.c +++ b/arch/sh/kernel/cpu/init.c | |||
@@ -64,11 +64,11 @@ static void __init speculative_execution_init(void) | |||
64 | * Generic first-level cache init | 64 | * Generic first-level cache init |
65 | */ | 65 | */ |
66 | #ifdef CONFIG_SUPERH32 | 66 | #ifdef CONFIG_SUPERH32 |
67 | static void __init cache_init(void) | 67 | static void __uses_jump_to_uncached cache_init(void) |
68 | { | 68 | { |
69 | unsigned long ccr, flags; | 69 | unsigned long ccr, flags; |
70 | 70 | ||
71 | jump_to_P2(); | 71 | jump_to_uncached(); |
72 | ccr = ctrl_inl(CCR); | 72 | ccr = ctrl_inl(CCR); |
73 | 73 | ||
74 | /* | 74 | /* |
@@ -145,7 +145,7 @@ static void __init cache_init(void) | |||
145 | #endif | 145 | #endif |
146 | 146 | ||
147 | ctrl_outl(flags, CCR); | 147 | ctrl_outl(flags, CCR); |
148 | back_to_P1(); | 148 | back_to_cached(); |
149 | } | 149 | } |
150 | #else | 150 | #else |
151 | #define cache_init() do { } while (0) | 151 | #define cache_init() do { } while (0) |