diff options
| -rw-r--r-- | arch/x86/lib/copy_user_64.S | 2 | ||||
| -rw-r--r-- | arch/x86/lib/copy_user_nocache_64.S | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/lib/copy_user_64.S b/arch/x86/lib/copy_user_64.S index dfdf428975c0..f118c110af32 100644 --- a/arch/x86/lib/copy_user_64.S +++ b/arch/x86/lib/copy_user_64.S | |||
| @@ -52,7 +52,7 @@ | |||
| 52 | jnz 100b | 52 | jnz 100b |
| 53 | 102: | 53 | 102: |
| 54 | .section .fixup,"ax" | 54 | .section .fixup,"ax" |
| 55 | 103: addl %r8d,%edx /* ecx is zerorest also */ | 55 | 103: addl %ecx,%edx /* ecx is zerorest also */ |
| 56 | jmp copy_user_handle_tail | 56 | jmp copy_user_handle_tail |
| 57 | .previous | 57 | .previous |
| 58 | 58 | ||
diff --git a/arch/x86/lib/copy_user_nocache_64.S b/arch/x86/lib/copy_user_nocache_64.S index 40e0e309d27e..cb0c112386fb 100644 --- a/arch/x86/lib/copy_user_nocache_64.S +++ b/arch/x86/lib/copy_user_nocache_64.S | |||
| @@ -32,7 +32,7 @@ | |||
| 32 | jnz 100b | 32 | jnz 100b |
| 33 | 102: | 33 | 102: |
| 34 | .section .fixup,"ax" | 34 | .section .fixup,"ax" |
| 35 | 103: addl %r8d,%edx /* ecx is zerorest also */ | 35 | 103: addl %ecx,%edx /* ecx is zerorest also */ |
| 36 | jmp copy_user_handle_tail | 36 | jmp copy_user_handle_tail |
| 37 | .previous | 37 | .previous |
| 38 | 38 | ||
| @@ -108,7 +108,6 @@ ENTRY(__copy_user_nocache) | |||
| 108 | jmp 60f | 108 | jmp 60f |
| 109 | 50: movl %ecx,%edx | 109 | 50: movl %ecx,%edx |
| 110 | 60: sfence | 110 | 60: sfence |
| 111 | movl %r8d,%ecx | ||
| 112 | jmp copy_user_handle_tail | 111 | jmp copy_user_handle_tail |
| 113 | .previous | 112 | .previous |
| 114 | 113 | ||
