]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf121ac31fbb29e12eba5c10afee7743e75e15344
treea5f8f323061443320b0636b5319f659d60ea2741
parent2a265c77ea2f3d1bfa1da22ac950dea08ce8ce49
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