diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-25 17:33:02 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 18:16:07 -0500 |
commit | d914b8dcbbde8e47b6762d66600ea66ccd18ef45 (patch) | |
tree | d21de8c056299ca51e869eaa70d886ae17508934 /arch/parisc/kernel | |
parent | 441ff959072b3f4b0712b149a3398f76f8ddfceb (diff) |
parisc: switch to generic compat sched_rr_get_interval()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/parisc/kernel')
-rw-r--r-- | arch/parisc/kernel/sys_parisc32.c | 12 | ||||
-rw-r--r-- | arch/parisc/kernel/syscall_table.S | 2 |
2 files changed, 1 insertions, 13 deletions
diff --git a/arch/parisc/kernel/sys_parisc32.c b/arch/parisc/kernel/sys_parisc32.c index 9cfdaa19ab63..9b6a376cb12b 100644 --- a/arch/parisc/kernel/sys_parisc32.c +++ b/arch/parisc/kernel/sys_parisc32.c | |||
@@ -61,18 +61,6 @@ asmlinkage long sys32_unimplemented(int r26, int r25, int r24, int r23, | |||
61 | return -ENOSYS; | 61 | return -ENOSYS; |
62 | } | 62 | } |
63 | 63 | ||
64 | asmlinkage long sys32_sched_rr_get_interval(pid_t pid, | ||
65 | struct compat_timespec __user *interval) | ||
66 | { | ||
67 | struct timespec t; | ||
68 | int ret; | ||
69 | |||
70 | KERNEL_SYSCALL(ret, sys_sched_rr_get_interval, pid, (struct timespec __user *)&t); | ||
71 | if (put_compat_timespec(&t, interval)) | ||
72 | return -EFAULT; | ||
73 | return ret; | ||
74 | } | ||
75 | |||
76 | struct msgbuf32 { | 64 | struct msgbuf32 { |
77 | int mtype; | 65 | int mtype; |
78 | char mtext[1]; | 66 | char mtext[1]; |
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S index 3b083dd208cf..883171edfc6e 100644 --- a/arch/parisc/kernel/syscall_table.S +++ b/arch/parisc/kernel/syscall_table.S | |||
@@ -250,7 +250,7 @@ | |||
250 | /* These 2 would've worked if someone had defined struct timespec | 250 | /* These 2 would've worked if someone had defined struct timespec |
251 | * carefully, like timeval for example (which is about the same). | 251 | * carefully, like timeval for example (which is about the same). |
252 | * Unfortunately it contains a long :-( */ | 252 | * Unfortunately it contains a long :-( */ |
253 | ENTRY_DIFF(sched_rr_get_interval) | 253 | ENTRY_COMP(sched_rr_get_interval) |
254 | ENTRY_COMP(nanosleep) | 254 | ENTRY_COMP(nanosleep) |
255 | ENTRY_SAME(mremap) | 255 | ENTRY_SAME(mremap) |
256 | ENTRY_SAME(setresuid) | 256 | ENTRY_SAME(setresuid) |