aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lib/copy_user_nocache_64.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lib/copy_user_nocache_64.S')
-rw-r--r--arch/x86/lib/copy_user_nocache_64.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/lib/copy_user_nocache_64.S b/arch/x86/lib/copy_user_nocache_64.S
index 40e0e309d27..cb0c112386f 100644
--- a/arch/x86/lib/copy_user_nocache_64.S
+++ b/arch/x86/lib/copy_user_nocache_64.S
@@ -32,7 +32,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
@@ -108,7 +108,6 @@ ENTRY(__copy_user_nocache)
jmp 60f
50: movl %ecx,%edx
60: sfence
- movl %r8d,%ecx
jmp copy_user_handle_tail
.previous