summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/linkage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ia64/linkage.h')
-rw-r--r--include/asm-ia64/linkage.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-ia64/linkage.h b/include/asm-ia64/linkage.h
index 14cd72c..ef22a45 100644
--- a/include/asm-ia64/linkage.h
+++ b/include/asm-ia64/linkage.h
@@ -1,6 +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
OpenPOWER on IntegriCloud