summaryrefslogtreecommitdiffstats
path: root/include/asm-um/linkage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-um/linkage.h')
-rw-r--r--include/asm-um/linkage.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-um/linkage.h b/include/asm-um/linkage.h
new file mode 100644
index 000000000000..27011652b015
--- /dev/null
+++ b/include/asm-um/linkage.h
@@ -0,0 +1,7 @@
+#ifndef __ASM_LINKAGE_H
+#define __ASM_LINKAGE_H
+
+#define FASTCALL(x) x __attribute__((regparm(3)))
+#define fastcall __attribute__((regparm(3)))
+
+#endif