diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-24 10:52:26 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-24 10:52:26 -0500 |
commit | 561c6731978fa128f29342495f47fc3365898b3d (patch) | |
tree | 6adc3a961708c8ec2d8e3a52e80bf9421f866066 /arch/parisc | |
parent | aee41fe2b2468bd3276e8eecd36c3e75927e2c53 (diff) |
switch lseek to COMPAT_SYSCALL_DEFINE
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/kernel/sys_parisc32.c | 10 | ||||
-rw-r--r-- | arch/parisc/kernel/syscall_table.S | 2 |
2 files changed, 1 insertions, 11 deletions
diff --git a/arch/parisc/kernel/sys_parisc32.c b/arch/parisc/kernel/sys_parisc32.c index eca69bb8ef5f..051c8b90231f 100644 --- a/arch/parisc/kernel/sys_parisc32.c +++ b/arch/parisc/kernel/sys_parisc32.c | |||
@@ -79,16 +79,6 @@ asmlinkage long sys32_sendfile64(u32 out_fd, u32 in_fd, | |||
79 | (loff_t __user *)offset, count); | 79 | (loff_t __user *)offset, count); |
80 | } | 80 | } |
81 | 81 | ||
82 | |||
83 | /* lseek() needs a wrapper because 'offset' can be negative, but the top | ||
84 | * half of the argument has been zeroed by syscall.S. | ||
85 | */ | ||
86 | |||
87 | asmlinkage int sys32_lseek(unsigned int fd, int offset, unsigned int origin) | ||
88 | { | ||
89 | return sys_lseek(fd, offset, origin); | ||
90 | } | ||
91 | |||
92 | asmlinkage long sys32_semctl(int semid, int semnum, int cmd, union semun arg) | 82 | asmlinkage long sys32_semctl(int semid, int semnum, int cmd, union semun arg) |
93 | { | 83 | { |
94 | union semun u; | 84 | union semun u; |
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S index fc9cab1cc2df..d0efc0aeb612 100644 --- a/arch/parisc/kernel/syscall_table.S +++ b/arch/parisc/kernel/syscall_table.S | |||
@@ -76,7 +76,7 @@ | |||
76 | ENTRY_SAME(socket) | 76 | ENTRY_SAME(socket) |
77 | /* struct stat is MAYBE identical wide and narrow ?? */ | 77 | /* struct stat is MAYBE identical wide and narrow ?? */ |
78 | ENTRY_COMP(newstat) | 78 | ENTRY_COMP(newstat) |
79 | ENTRY_DIFF(lseek) | 79 | ENTRY_COMP(lseek) |
80 | ENTRY_SAME(getpid) /* 20 */ | 80 | ENTRY_SAME(getpid) /* 20 */ |
81 | /* the 'void * data' parameter may need re-packing in wide */ | 81 | /* the 'void * data' parameter may need re-packing in wide */ |
82 | ENTRY_COMP(mount) | 82 | ENTRY_COMP(mount) |