]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/lib/copy_user_64.S
x86: Add missing annotation to arch/x86/lib/copy_user_64.S::copy_to_user
[karo-tx-linux.git] / arch / x86 / lib / copy_user_64.S
index dfdf428975c0cdafb64686cdcd221b3428653b68..6ba0f7bb85eadaeebffde0d428dd8af7f932d2c9 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
 
@@ -75,6 +75,7 @@ ENTRY(copy_to_user)
        jae bad_to_user
        ALTERNATIVE_JUMP X86_FEATURE_REP_GOOD,copy_user_generic_unrolled,copy_user_generic_string
        CFI_ENDPROC
+ENDPROC(copy_to_user)
 
 /* Standard copy_from_user with segment limit checking */
 ENTRY(copy_from_user)