diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2014-03-01 07:09:26 -0500 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2014-03-04 03:05:47 -0500 |
commit | 2c81fc4fb41f589454861bbdb90ffde73840b8f8 (patch) | |
tree | a5f8f323061443320b0636b5319f659d60ea2741 /arch/s390/kernel/compat_linux.h | |
parent | 00fcb1494f645be4e0cd703756448fc64ca2a44a (diff) |
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>
Diffstat (limited to 'arch/s390/kernel/compat_linux.h')
-rw-r--r-- | arch/s390/kernel/compat_linux.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/kernel/compat_linux.h b/arch/s390/kernel/compat_linux.h index 7d2ce4bb84a6..330e11d164d7 100644 --- a/arch/s390/kernel/compat_linux.h +++ b/arch/s390/kernel/compat_linux.h | |||
@@ -110,4 +110,7 @@ long compat_sys_s390_read(unsigned int fd, char __user * buf, compat_size_t coun | |||
110 | long compat_sys_s390_write(unsigned int fd, const char __user * buf, compat_size_t count); | 110 | long compat_sys_s390_write(unsigned int fd, const char __user * buf, compat_size_t count); |
111 | long compat_sys_s390_fadvise64(int fd, u32 high, u32 low, compat_size_t len, int advise); | 111 | long compat_sys_s390_fadvise64(int fd, u32 high, u32 low, compat_size_t len, int advise); |
112 | long compat_sys_s390_fadvise64_64(struct fadvise64_64_args __user *args); | 112 | long compat_sys_s390_fadvise64_64(struct fadvise64_64_args __user *args); |
113 | long compat_sys_s390_sync_file_range(int fd, u32 offhigh, u32 offlow, u32 nhigh, u32 nlow, unsigned int flags); | ||
114 | long compat_sys_s390_fallocate(int fd, int mode, u32 offhigh, u32 offlow, u32 lenhigh, u32 lenlow); | ||
115 | |||
113 | #endif /* _ASM_S390X_S390_H */ | 116 | #endif /* _ASM_S390X_S390_H */ |