summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/systbls.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-03-20 06:48:30 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2018-03-20 19:05:16 +0300
commit8c82ccd63192a3ed66a454fdd70da2a4cc8455a1 (patch)
tree398f815a292ad17992cb83e28b232f879171ced6 /arch/sparc/kernel/systbls.h
parent8ccb004677d15ebfd44470e27bc9a399b0e71e4e (diff)
downloadlinux-8c82ccd63192a3ed66a454fdd70da2a4cc8455a1.tar.xz
sparc: switch compat pread64 and pwrite64 to COMPAT_SYSCALL_DEFINE
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc/kernel/systbls.h')
-rw-r--r--arch/sparc/kernel/systbls.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/sparc/kernel/systbls.h b/arch/sparc/kernel/systbls.h
index 0ff3da78e09b..922c253ee086 100644
--- a/arch/sparc/kernel/systbls.h
+++ b/arch/sparc/kernel/systbls.h
@@ -65,16 +65,16 @@ asmlinkage long compat_sys_fstat64(unsigned int fd,
asmlinkage long compat_sys_fstatat64(unsigned int dfd,
const char __user *filename,
struct compat_stat64 __user * statbuf, int flag);
-asmlinkage compat_ssize_t sys32_pread64(unsigned int fd,
+asmlinkage long compat_sys_pread64(unsigned int fd,
char __user *ubuf,
compat_size_t count,
- unsigned long poshi,
- unsigned long poslo);
-asmlinkage compat_ssize_t sys32_pwrite64(unsigned int fd,
+ u32 poshi,
+ u32 poslo);
+asmlinkage long compat_sys_pwrite64(unsigned int fd,
char __user *ubuf,
compat_size_t count,
- unsigned long poshi,
- unsigned long poslo);
+ u32 poshi,
+ u32 poslo);
asmlinkage long compat_sys_readahead(int fd,
unsigned offhi,
unsigned offlo,