summaryrefslogtreecommitdiffstats
path: root/arch/ia64/include/asm/linkage.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/include/asm/linkage.h')
-rw-r--r--arch/ia64/include/asm/linkage.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/linkage.h b/arch/ia64/include/asm/linkage.h
new file mode 100644
index 00000000000..ef22a45c189
--- /dev/null
+++ b/arch/ia64/include/asm/linkage.h
@@ -0,0 +1,14 @@
+#ifndef __ASM_LINKAGE_H
+#define __ASM_LINKAGE_H
+
+#ifndef __ASSEMBLY__
+
+#define asmlinkage CPP_ASMLINKAGE __attribute__((syscall_linkage))
+
+#else
+
+#include <asm/asmmacro.h>
+
+#endif
+
+#endif