From f06e2309b96e04e52459d93d3ffd4c692ef22bc3 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 15 Jul 2016 07:55:06 -0700 Subject: [PATCH] Declare compat_sys_preadv64v2/compat_sys_pwritev64v2 Provide prototypes for compat_sys_preadv64v2 and compat_sys_pwritev64v2. Signed-off-by: H.J. Lu --- include/linux/compat.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/linux/compat.h b/include/linux/compat.h index f964ef7..5e33438 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h @@ -361,6 +361,18 @@ asmlinkage long compat_sys_pwritev64(unsigned long fd, unsigned long vlen, loff_t pos); #endif +#ifdef __ARCH_WANT_COMPAT_SYS_PREADV64V2 +asmlinkage long compat_sys_preadv64v2(unsigned long fd, + const struct compat_iovec __user *vec, + unsigned long vlen, loff_t pos, int flags); +#endif + +#ifdef __ARCH_WANT_COMPAT_SYS_PWRITEV64V2 +asmlinkage long compat_sys_pwritev64v2(unsigned long fd, + const struct compat_iovec __user *vec, + unsigned long vlen, loff_t pos, int flags); +#endif + asmlinkage long compat_sys_lseek(unsigned int, compat_off_t, unsigned int); asmlinkage long compat_sys_execve(const char __user *filename, const compat_uptr_t __user *argv, -- 2.7.4