aboutsummaryrefslogtreecommitdiff
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 00000000000..27011652b01
--- /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