s390/compat: add sync_file_range and fallocate compat syscalls
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 1 Mar 2014 12:09:26 +0000 (13:09 +0100)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 4 Mar 2014 08:05:47 +0000 (09:05 +0100)
commit2c81fc4fb41f589454861bbdb90ffde73840b8f8
treea5f8f323061443320b0636b5319f659d60ea2741
parent00fcb1494f645be4e0cd703756448fc64ca2a44a
s390/compat: add sync_file_range and fallocate compat syscalls

The compat syscall wrappers for sync_file_range and fallocate merged 32 bit
parameters into 64 bit parameters. Therefore they did more than just the
usual zero and/or sign extension of system call parameters.

So convert these two wrappers to full s390 specific compat sytem calls.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/kernel/compat_linux.c
arch/s390/kernel/compat_linux.h
arch/s390/kernel/compat_wrapper.S
arch/s390/kernel/syscalls.S