Commit cd2d2bf6 authored by Heiko Carstens's avatar Heiko Carstens Committed by Linus Torvalds

[PATCH] s390: fix compat syscall wrapper

Patch 9ad11ab4 changes the type of the first
argument of some compat syscalls from int to unsigned int.  Add these changes
to the s390 compat wrapper as well.
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6ff290a0
...@@ -1486,7 +1486,7 @@ sys_inotify_rm_watch_wrapper: ...@@ -1486,7 +1486,7 @@ sys_inotify_rm_watch_wrapper:
.globl compat_sys_openat_wrapper .globl compat_sys_openat_wrapper
compat_sys_openat_wrapper: compat_sys_openat_wrapper:
lgfr %r2,%r2 # int llgfr %r2,%r2 # unsigned int
llgtr %r3,%r3 # const char * llgtr %r3,%r3 # const char *
lgfr %r4,%r4 # int lgfr %r4,%r4 # int
lgfr %r5,%r5 # int lgfr %r5,%r5 # int
...@@ -1518,14 +1518,14 @@ sys_fchownat_wrapper: ...@@ -1518,14 +1518,14 @@ sys_fchownat_wrapper:
.globl compat_sys_futimesat_wrapper .globl compat_sys_futimesat_wrapper
compat_sys_futimesat_wrapper: compat_sys_futimesat_wrapper:
lgfr %r2,%r2 # int llgfr %r2,%r2 # unsigned int
llgtr %r3,%r3 # char * llgtr %r3,%r3 # char *
llgtr %r4,%r4 # struct timeval * llgtr %r4,%r4 # struct timeval *
jg compat_sys_futimesat jg compat_sys_futimesat
.globl compat_sys_newfstatat_wrapper .globl compat_sys_newfstatat_wrapper
compat_sys_newfstatat_wrapper: compat_sys_newfstatat_wrapper:
lgfr %r2,%r2 # int llgfr %r2,%r2 # unsigned int
llgtr %r3,%r3 # char * llgtr %r3,%r3 # char *
llgtr %r4,%r4 # struct stat * llgtr %r4,%r4 # struct stat *
lgfr %r5,%r5 # int lgfr %r5,%r5 # int
......
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