]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/lib/copy_user_64.S
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
[linux-2.6-omap-h63xx.git] / arch / x86 / lib / copy_user_64.S
index e5afb4ad3f1c463e001b45f8faa82c8664847cbc..f118c110af32f66b5a2208ecc864d86e2f249981 100644 (file)
@@ -52,7 +52,7 @@
        jnz 100b
 102:
        .section .fixup,"ax"
-103:   addl %r8d,%edx                  /* ecx is zerorest also */
+103:   addl %ecx,%edx                  /* ecx is zerorest also */
        jmp copy_user_handle_tail
        .previous
 
@@ -185,7 +185,7 @@ ENTRY(copy_user_generic_unrolled)
 30:    shll $6,%ecx
        addl %ecx,%edx
        jmp 60f
-40:    leal (%edx,%ecx,8),%edx
+40:    lea (%rdx,%rcx,8),%rdx
        jmp 60f
 50:    movl %ecx,%edx
 60:    jmp copy_user_handle_tail /* ecx is zerorest also */
@@ -254,7 +254,7 @@ ENTRY(copy_user_generic_string)
        ret
 
        .section .fixup,"ax"
-11:    leal (%edx,%ecx,8),%ecx
+11:    lea (%rdx,%rcx,8),%rcx
 12:    movl %ecx,%edx          /* ecx is zerorest also */
        jmp copy_user_handle_tail
        .previous