aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/syscalls.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-01-21 17:16:07 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-03-03 22:55:19 -0500
commite1b5bb6d1236d4ad2084c53aa83dde7cdf6f8eea (patch)
tree2431edf19caecce6aad82b4ee4ed2abe45e542e3 /include/linux/syscalls.h
parent4a0fd5bf0fd0795af8f1be3b261f5cf146a4cb9b (diff)
consolidate cond_syscall and SYSCALL_ALIAS declarations
take them to asm/linkage.h, with default in linux/linkage.h Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r--include/linux/syscalls.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
index 3e07b92efbf6..87584373305d 100644
--- a/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -183,20 +183,6 @@ extern struct trace_event_functions exit_syscall_print_funcs;
183#define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) 183#define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__)
184#define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) 184#define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__)
185 185
186#ifdef CONFIG_PPC64
187#define SYSCALL_ALIAS(alias, name) \
188 asm ("\t.globl " #alias "\n\t.set " #alias ", " #name "\n" \
189 "\t.globl ." #alias "\n\t.set ." #alias ", ." #name)
190#else
191#if defined(CONFIG_ALPHA) || defined(CONFIG_MIPS)
192#define SYSCALL_ALIAS(alias, name) \
193 asm ( #alias " = " #name "\n\t.globl " #alias)
194#else
195#define SYSCALL_ALIAS(alias, name) \
196 asm ("\t.globl " #alias "\n\t.set " #alias ", " #name)
197#endif
198#endif
199
200#ifdef CONFIG_FTRACE_SYSCALLS 186#ifdef CONFIG_FTRACE_SYSCALLS
201#define SYSCALL_DEFINEx(x, sname, ...) \ 187#define SYSCALL_DEFINEx(x, sname, ...) \
202 static const char *types_##sname[] = { \ 188 static const char *types_##sname[] = { \