Commit 82aabdb6 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky

s390/compat: fix compat wrappers for process_vm system calls

The compat wrappers incorrectly called the non compat versions of
the system process_vm system calls.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 5ab37e1b
...@@ -1635,7 +1635,7 @@ ENTRY(compat_sys_process_vm_readv_wrapper) ...@@ -1635,7 +1635,7 @@ ENTRY(compat_sys_process_vm_readv_wrapper)
llgfr %r6,%r6 # unsigned long llgfr %r6,%r6 # unsigned long
llgf %r0,164(%r15) # unsigned long llgf %r0,164(%r15) # unsigned long
stg %r0,160(%r15) stg %r0,160(%r15)
jg sys_process_vm_readv jg compat_sys_process_vm_readv
ENTRY(compat_sys_process_vm_writev_wrapper) ENTRY(compat_sys_process_vm_writev_wrapper)
lgfr %r2,%r2 # compat_pid_t lgfr %r2,%r2 # compat_pid_t
...@@ -1645,4 +1645,4 @@ ENTRY(compat_sys_process_vm_writev_wrapper) ...@@ -1645,4 +1645,4 @@ ENTRY(compat_sys_process_vm_writev_wrapper)
llgfr %r6,%r6 # unsigned long llgfr %r6,%r6 # unsigned long
llgf %r0,164(%r15) # unsigned long llgf %r0,164(%r15) # unsigned long
stg %r0,160(%r15) stg %r0,160(%r15)
jg sys_process_vm_writev jg compat_sys_process_vm_writev
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment