summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/linkage.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/linkage.h')
-rw-r--r--arch/mips/include/asm/linkage.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/mips/include/asm/linkage.h b/arch/mips/include/asm/linkage.h
new file mode 100644
index 00000000000..e9a940d1b0c
--- /dev/null
+++ b/arch/mips/include/asm/linkage.h
@@ -0,0 +1,10 @@
+#ifndef __ASM_LINKAGE_H
+#define __ASM_LINKAGE_H
+
+#ifdef __ASSEMBLY__
+#include <asm/asm.h>
+#endif
+
+#define __weak __attribute__((weak))
+
+#endif