summaryrefslogtreecommitdiffstats
path: root/arch/sh/lib/clear_page.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/lib/clear_page.S')
-rw-r--r--arch/sh/lib/clear_page.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/lib/clear_page.S b/arch/sh/lib/clear_page.S
index 3539123fe51..8342bfbde64 100644
--- a/arch/sh/lib/clear_page.S
+++ b/arch/sh/lib/clear_page.S
@@ -27,11 +27,11 @@ ENTRY(clear_page)
mov #0,r0
!
1:
-#if defined(CONFIG_CPU_SH3)
- mov.l r0,@r4
-#elif defined(CONFIG_CPU_SH4)
+#if defined(CONFIG_CPU_SH4)
movca.l r0,@r4
mov r4,r1
+#else
+ mov.l r0,@r4
#endif
add #32,r4
mov.l r0,@-r4