aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/syscalls.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-01-21 17:18:07 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-03-03 22:58:30 -0500
commit22d1a35da0e247a006c286842a1846acb4ffed4f (patch)
tree45f85354e11a45903a7789169d09e90f1190b5fb /include/linux/syscalls.h
parente1b5bb6d1236d4ad2084c53aa83dde7cdf6f8eea (diff)
make HAVE_SYSCALL_WRAPPERS unconditional
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r--include/linux/syscalls.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
index 87584373305d..3b6fc13cb46a 100644
--- a/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -198,8 +198,6 @@ extern struct trace_event_functions exit_syscall_print_funcs;
198 __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) 198 __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
199#endif 199#endif
200 200
201#ifdef CONFIG_HAVE_SYSCALL_WRAPPERS
202
203#define SYSCALL_DEFINE(name) static inline long SYSC_##name 201#define SYSCALL_DEFINE(name) static inline long SYSC_##name
204 202
205#define __SYSCALL_DEFINEx(x, name, ...) \ 203#define __SYSCALL_DEFINEx(x, name, ...) \
@@ -213,14 +211,6 @@ extern struct trace_event_functions exit_syscall_print_funcs;
213 SYSCALL_ALIAS(sys##name, SyS##name); \ 211 SYSCALL_ALIAS(sys##name, SyS##name); \
214 static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)) 212 static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__))
215 213
216#else /* CONFIG_HAVE_SYSCALL_WRAPPERS */
217
218#define SYSCALL_DEFINE(name) asmlinkage long sys_##name
219#define __SYSCALL_DEFINEx(x, name, ...) \
220 asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))
221
222#endif /* CONFIG_HAVE_SYSCALL_WRAPPERS */
223
224asmlinkage long sys_time(time_t __user *tloc); 214asmlinkage long sys_time(time_t __user *tloc);
225asmlinkage long sys_stime(time_t __user *tptr); 215asmlinkage long sys_stime(time_t __user *tptr);
226asmlinkage long sys_gettimeofday(struct timeval __user *tv, 216asmlinkage long sys_gettimeofday(struct timeval __user *tv,