diff options
Diffstat (limited to 'arch/powerpc/kernel/sys_ppc32.c')
-rw-r--r-- | arch/powerpc/kernel/sys_ppc32.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/powerpc/kernel/sys_ppc32.c b/arch/powerpc/kernel/sys_ppc32.c index dbc44ba5b078..d0bafc0cdf06 100644 --- a/arch/powerpc/kernel/sys_ppc32.c +++ b/arch/powerpc/kernel/sys_ppc32.c | |||
@@ -146,24 +146,6 @@ asmlinkage long compat_sys_sendfile64_wrapper(u32 out_fd, u32 in_fd, | |||
146 | (off_t __user *)offset, count); | 146 | (off_t __user *)offset, count); |
147 | } | 147 | } |
148 | 148 | ||
149 | off_t ppc32_lseek(unsigned int fd, u32 offset, unsigned int origin) | ||
150 | { | ||
151 | /* sign extend n */ | ||
152 | return sys_lseek(fd, (int)offset, origin); | ||
153 | } | ||
154 | |||
155 | long compat_sys_truncate(const char __user * path, u32 length) | ||
156 | { | ||
157 | /* sign extend length */ | ||
158 | return sys_truncate(path, (int)length); | ||
159 | } | ||
160 | |||
161 | long compat_sys_ftruncate(int fd, u32 length) | ||
162 | { | ||
163 | /* sign extend length */ | ||
164 | return sys_ftruncate(fd, (int)length); | ||
165 | } | ||
166 | |||
167 | unsigned long compat_sys_mmap2(unsigned long addr, size_t len, | 149 | unsigned long compat_sys_mmap2(unsigned long addr, size_t len, |
168 | unsigned long prot, unsigned long flags, | 150 | unsigned long prot, unsigned long flags, |
169 | unsigned long fd, unsigned long pgoff) | 151 | unsigned long fd, unsigned long pgoff) |