aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-03-05 20:10:59 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-09 13:46:38 -0400
commit91c2e0bcae72a3086c698b5de2b950b885abb0e6 (patch)
tree89f738ca8f9519f0fd3b22dd6cfb3dc69d98cfab /arch/x86
parent5522ddb3fc0dfd4a503c8278eafd88c9f2d3fada (diff)
unify compat fanotify_mark(2), switch to COMPAT_SYSCALL_DEFINE
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/ia32/sys_ia32.c9
-rw-r--r--arch/x86/include/asm/sys_ia32.h3
-rw-r--r--arch/x86/syscalls/syscall_32.tbl2
3 files changed, 1 insertions, 13 deletions
diff --git a/arch/x86/ia32/sys_ia32.c b/arch/x86/ia32/sys_ia32.c
index 4e4907c67d92..8e0ceecdc957 100644
--- a/arch/x86/ia32/sys_ia32.c
+++ b/arch/x86/ia32/sys_ia32.c
@@ -243,12 +243,3 @@ asmlinkage long sys32_fallocate(int fd, int mode, unsigned offset_lo,
243 return sys_fallocate(fd, mode, ((u64)offset_hi << 32) | offset_lo, 243 return sys_fallocate(fd, mode, ((u64)offset_hi << 32) | offset_lo,
244 ((u64)len_hi << 32) | len_lo); 244 ((u64)len_hi << 32) | len_lo);
245} 245}
246
247asmlinkage long sys32_fanotify_mark(int fanotify_fd, unsigned int flags,
248 u32 mask_lo, u32 mask_hi,
249 int fd, const char __user *pathname)
250{
251 return sys_fanotify_mark(fanotify_fd, flags,
252 ((u64)mask_hi << 32) | mask_lo,
253 fd, pathname);
254}
diff --git a/arch/x86/include/asm/sys_ia32.h b/arch/x86/include/asm/sys_ia32.h
index 0ef202e232d6..82c34ee25a65 100644
--- a/arch/x86/include/asm/sys_ia32.h
+++ b/arch/x86/include/asm/sys_ia32.h
@@ -50,9 +50,6 @@ asmlinkage long sys32_fallocate(int, int, unsigned,
50asmlinkage long sys32_sigreturn(void); 50asmlinkage long sys32_sigreturn(void);
51asmlinkage long sys32_rt_sigreturn(void); 51asmlinkage long sys32_rt_sigreturn(void);
52 52
53asmlinkage long sys32_fanotify_mark(int, unsigned int, u32, u32, int,
54 const char __user *);
55
56#endif /* CONFIG_COMPAT */ 53#endif /* CONFIG_COMPAT */
57 54
58#endif /* _ASM_X86_SYS_IA32_H */ 55#endif /* _ASM_X86_SYS_IA32_H */
diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl
index d0d59bfbccce..aabfb8380a1c 100644
--- a/arch/x86/syscalls/syscall_32.tbl
+++ b/arch/x86/syscalls/syscall_32.tbl
@@ -345,7 +345,7 @@
345336 i386 perf_event_open sys_perf_event_open 345336 i386 perf_event_open sys_perf_event_open
346337 i386 recvmmsg sys_recvmmsg compat_sys_recvmmsg 346337 i386 recvmmsg sys_recvmmsg compat_sys_recvmmsg
347338 i386 fanotify_init sys_fanotify_init 347338 i386 fanotify_init sys_fanotify_init
348339 i386 fanotify_mark sys_fanotify_mark sys32_fanotify_mark 348339 i386 fanotify_mark sys_fanotify_mark compat_sys_fanotify_mark
349340 i386 prlimit64 sys_prlimit64 349340 i386 prlimit64 sys_prlimit64
350341 i386 name_to_handle_at sys_name_to_handle_at 350341 i386 name_to_handle_at sys_name_to_handle_at
351342 i386 open_by_handle_at sys_open_by_handle_at compat_sys_open_by_handle_at 351342 i386 open_by_handle_at sys_open_by_handle_at compat_sys_open_by_handle_at