diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-03-05 20:10:59 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-09 13:46:38 -0400 |
commit | 91c2e0bcae72a3086c698b5de2b950b885abb0e6 (patch) | |
tree | 89f738ca8f9519f0fd3b22dd6cfb3dc69d98cfab /arch/x86 | |
parent | 5522ddb3fc0dfd4a503c8278eafd88c9f2d3fada (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.c | 9 | ||||
-rw-r--r-- | arch/x86/include/asm/sys_ia32.h | 3 | ||||
-rw-r--r-- | arch/x86/syscalls/syscall_32.tbl | 2 |
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 | |||
247 | asmlinkage 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, | |||
50 | asmlinkage long sys32_sigreturn(void); | 50 | asmlinkage long sys32_sigreturn(void); |
51 | asmlinkage long sys32_rt_sigreturn(void); | 51 | asmlinkage long sys32_rt_sigreturn(void); |
52 | 52 | ||
53 | asmlinkage 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 @@ | |||
345 | 336 i386 perf_event_open sys_perf_event_open | 345 | 336 i386 perf_event_open sys_perf_event_open |
346 | 337 i386 recvmmsg sys_recvmmsg compat_sys_recvmmsg | 346 | 337 i386 recvmmsg sys_recvmmsg compat_sys_recvmmsg |
347 | 338 i386 fanotify_init sys_fanotify_init | 347 | 338 i386 fanotify_init sys_fanotify_init |
348 | 339 i386 fanotify_mark sys_fanotify_mark sys32_fanotify_mark | 348 | 339 i386 fanotify_mark sys_fanotify_mark compat_sys_fanotify_mark |
349 | 340 i386 prlimit64 sys_prlimit64 | 349 | 340 i386 prlimit64 sys_prlimit64 |
350 | 341 i386 name_to_handle_at sys_name_to_handle_at | 350 | 341 i386 name_to_handle_at sys_name_to_handle_at |
351 | 342 i386 open_by_handle_at sys_open_by_handle_at compat_sys_open_by_handle_at | 351 | 342 i386 open_by_handle_at sys_open_by_handle_at compat_sys_open_by_handle_at |