summaryrefslogtreecommitdiffstats
path: root/arch/alpha/include/asm/linkage.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/include/asm/linkage.h')
-rw-r--r--arch/alpha/include/asm/linkage.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/alpha/include/asm/linkage.h b/arch/alpha/include/asm/linkage.h
index 291c2d01c44f..7cfd06e8c935 100644
--- a/arch/alpha/include/asm/linkage.h
+++ b/arch/alpha/include/asm/linkage.h
@@ -1,6 +1,8 @@
#ifndef __ASM_LINKAGE_H
#define __ASM_LINKAGE_H
-/* Nothing to see here... */
+#define cond_syscall(x) asm(".weak\t" #x "\n" #x " = sys_ni_syscall")
+#define SYSCALL_ALIAS(alias, name) \
+ asm ( #alias " = " #name "\n\t.globl " #alias)
#endif