diff options
Diffstat (limited to 'arch/mips/kernel/linux32.c')
-rw-r--r-- | arch/mips/kernel/linux32.c | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/arch/mips/kernel/linux32.c b/arch/mips/kernel/linux32.c index 7adab86c632c..253bd8ad7446 100644 --- a/arch/mips/kernel/linux32.c +++ b/arch/mips/kernel/linux32.c | |||
@@ -119,22 +119,6 @@ SYSCALL_DEFINE6(32_pwrite, unsigned int, fd, const char __user *, buf, | |||
119 | return sys_pwrite64(fd, buf, count, merge_64(a4, a5)); | 119 | return sys_pwrite64(fd, buf, count, merge_64(a4, a5)); |
120 | } | 120 | } |
121 | 121 | ||
122 | SYSCALL_DEFINE2(32_sched_rr_get_interval, compat_pid_t, pid, | ||
123 | struct compat_timespec __user *, interval) | ||
124 | { | ||
125 | struct timespec t; | ||
126 | int ret; | ||
127 | mm_segment_t old_fs = get_fs(); | ||
128 | |||
129 | set_fs(KERNEL_DS); | ||
130 | ret = sys_sched_rr_get_interval(pid, (struct timespec __user *)&t); | ||
131 | set_fs(old_fs); | ||
132 | if (put_user (t.tv_sec, &interval->tv_sec) || | ||
133 | __put_user(t.tv_nsec, &interval->tv_nsec)) | ||
134 | return -EFAULT; | ||
135 | return ret; | ||
136 | } | ||
137 | |||
138 | #ifdef CONFIG_SYSVIPC | 122 | #ifdef CONFIG_SYSVIPC |
139 | 123 | ||
140 | SYSCALL_DEFINE6(32_ipc, u32, call, long, first, long, second, long, third, | 124 | SYSCALL_DEFINE6(32_ipc, u32, call, long, first, long, second, long, third, |
@@ -295,27 +279,6 @@ asmlinkage long sys32_fallocate(int fd, int mode, unsigned offset_a2, | |||
295 | merge_64(len_a4, len_a5)); | 279 | merge_64(len_a4, len_a5)); |
296 | } | 280 | } |
297 | 281 | ||
298 | save_static_function(sys32_clone); | ||
299 | static int noinline __used | ||
300 | _sys32_clone(nabi_no_regargs struct pt_regs regs) | ||
301 | { | ||
302 | unsigned long clone_flags; | ||
303 | unsigned long newsp; | ||
304 | int __user *parent_tidptr, *child_tidptr; | ||
305 | |||
306 | clone_flags = regs.regs[4]; | ||
307 | newsp = regs.regs[5]; | ||
308 | if (!newsp) | ||
309 | newsp = regs.regs[29]; | ||
310 | parent_tidptr = (int __user *) regs.regs[6]; | ||
311 | |||
312 | /* Use __dummy4 instead of getting it off the stack, so that | ||
313 | syscall() works. */ | ||
314 | child_tidptr = (int __user *) __dummy4; | ||
315 | return do_fork(clone_flags, newsp, 0, | ||
316 | parent_tidptr, child_tidptr); | ||
317 | } | ||
318 | |||
319 | asmlinkage long sys32_lookup_dcookie(u32 a0, u32 a1, char __user *buf, | 282 | asmlinkage long sys32_lookup_dcookie(u32 a0, u32 a1, char __user *buf, |
320 | size_t len) | 283 | size_t len) |
321 | { | 284 | { |
@@ -328,10 +291,3 @@ SYSCALL_DEFINE6(32_fanotify_mark, int, fanotify_fd, unsigned int, flags, | |||
328 | return sys_fanotify_mark(fanotify_fd, flags, merge_64(a3, a4), | 291 | return sys_fanotify_mark(fanotify_fd, flags, merge_64(a3, a4), |
329 | dfd, pathname); | 292 | dfd, pathname); |
330 | } | 293 | } |
331 | |||
332 | SYSCALL_DEFINE6(32_futex, u32 __user *, uaddr, int, op, u32, val, | ||
333 | struct compat_timespec __user *, utime, u32 __user *, uaddr2, | ||
334 | u32, val3) | ||
335 | { | ||
336 | return compat_sys_futex(uaddr, op, val, utime, uaddr2, val3); | ||
337 | } | ||