Commit:     0e670685e4925930000a678c74eb1cbf23b415fa
Parent:     c81134b58c0857122cce23b29d41788e02a5024d
Author:     Stuart Menefy <[EMAIL PROTECTED]>
AuthorDate: Fri Nov 2 12:14:09 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Fri Nov 2 12:14:09 2007 +0900

    sh: Fix optimized __copy_user() movca.l usage.
    movca.l is restricted to SH-4 and up only, though compilers that
    are unable to support ISA tuning (especially older versions of
    binutils) will happily compile in the bogus opcode on older parts.
    Conditionalize it to fix SH-3 regressions noted by Kristoffer.
    Signed-off-by: Stuart Menefy <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
 arch/sh/mm/copy_page.S |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/sh/mm/copy_page.S b/arch/sh/mm/copy_page.S
index a81dbdb..3d8409d 100644
--- a/arch/sh/mm/copy_page.S
+++ b/arch/sh/mm/copy_page.S
@@ -255,7 +255,11 @@ EX(        mov.l   @r5+,r8         )
 EX(    mov.l   @r5+,r9         )
 EX(    mov.l   @r5+,r10        )
 EX(    mov.l   @r5+,r11        )
+#ifdef CONFIG_CPU_SH4
 EX(    movca.l r0,@r4          )
+EX(    mov.l   r0,@r4          )
        add     #-32, r6
 EX(    mov.l   r1,@(4,r4)      )
        mov     #32, r0
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to