consolidate cond_syscall and SYSCALL_ALIAS declarations
[sfrench/cifs-2.6.git] / arch / ia64 / include / asm / linkage.h
index ef22a45c1890bf26eb8f82a8f15c5e5f8f65c5f8..787575701f1ca94c34b872e3b2f37fd97da3afc7 100644 (file)
@@ -11,4 +11,8 @@
 
 #endif
 
+#define cond_syscall(x) asm(".weak\t" #x "#\n" #x "#\t=\tsys_ni_syscall#")
+#define SYSCALL_ALIAS(alias, name)                                     \
+       asm ( #alias "# = " #name "#\n\t.globl " #alias "#")
+
 #endif