aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-02-25 18:42:04 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-03-03 23:00:23 -0500
commitd5dc77bfeeab0b03a32e3db5e31e2f64605634ab (patch)
tree7cdf557d1310db607d164d576d8cc5799d4aaf36 /arch/parisc
parent76b021d053ed0b8de9689eefca5e8f53dade7fd7 (diff)
consolidate compat lookup_dcookie()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/sys_parisc32.c7
-rw-r--r--arch/parisc/kernel/syscall_table.S2
2 files changed, 1 insertions, 8 deletions
diff --git a/arch/parisc/kernel/sys_parisc32.c b/arch/parisc/kernel/sys_parisc32.c
index 035ab3f94814..46bdf6080fe4 100644
--- a/arch/parisc/kernel/sys_parisc32.c
+++ b/arch/parisc/kernel/sys_parisc32.c
@@ -75,13 +75,6 @@ asmlinkage long sys32_semctl(int semid, int semnum, int cmd, union semun arg)
75 return sys_semctl (semid, semnum, cmd, arg); 75 return sys_semctl (semid, semnum, cmd, arg);
76} 76}
77 77
78long sys32_lookup_dcookie(u32 cookie_high, u32 cookie_low, char __user *buf,
79 size_t len)
80{
81 return sys_lookup_dcookie((u64)cookie_high << 32 | cookie_low,
82 buf, len);
83}
84
85asmlinkage long compat_sys_fanotify_mark(int fan_fd, int flags, u32 mask_hi, 78asmlinkage long compat_sys_fanotify_mark(int fan_fd, int flags, u32 mask_hi,
86 u32 mask_lo, int fd, 79 u32 mask_lo, int fd,
87 const char __user *pathname) 80 const char __user *pathname)
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index f232672a9e20..30c9a3bba1cc 100644
--- a/arch/parisc/kernel/syscall_table.S
+++ b/arch/parisc/kernel/syscall_table.S
@@ -318,7 +318,7 @@
318 ENTRY_SAME(alloc_hugepages) /* 220 */ 318 ENTRY_SAME(alloc_hugepages) /* 220 */
319 ENTRY_SAME(free_hugepages) 319 ENTRY_SAME(free_hugepages)
320 ENTRY_SAME(exit_group) 320 ENTRY_SAME(exit_group)
321 ENTRY_DIFF(lookup_dcookie) 321 ENTRY_COMP(lookup_dcookie)
322 ENTRY_SAME(epoll_create) 322 ENTRY_SAME(epoll_create)
323 ENTRY_SAME(epoll_ctl) /* 225 */ 323 ENTRY_SAME(epoll_ctl) /* 225 */
324 ENTRY_SAME(epoll_wait) 324 ENTRY_SAME(epoll_wait)