summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-02-24 15:52:26 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-24 15:52:26 (GMT)
commit561c6731978fa128f29342495f47fc3365898b3d (patch)
tree6adc3a961708c8ec2d8e3a52e80bf9421f866066 /arch/powerpc/kernel
parentaee41fe2b2468bd3276e8eecd36c3e75927e2c53 (diff)
downloadlinux-561c6731978fa128f29342495f47fc3365898b3d.tar.xz
switch lseek to COMPAT_SYSCALL_DEFINE
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/sys_ppc32.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/sys_ppc32.c b/arch/powerpc/kernel/sys_ppc32.c
index dbc44ba..5677a36 100644
--- a/arch/powerpc/kernel/sys_ppc32.c
+++ b/arch/powerpc/kernel/sys_ppc32.c
@@ -146,12 +146,6 @@ asmlinkage long compat_sys_sendfile64_wrapper(u32 out_fd, u32 in_fd,
(off_t __user *)offset, count);
}
-off_t ppc32_lseek(unsigned int fd, u32 offset, unsigned int origin)
-{
- /* sign extend n */
- return sys_lseek(fd, (int)offset, origin);
-}
-
long compat_sys_truncate(const char __user * path, u32 length)
{
/* sign extend length */