summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/linkage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/linkage.h')
-rw-r--r--include/asm-mips/linkage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-mips/linkage.h b/include/asm-mips/linkage.h
index b6185d3cfe68..e9a940d1b0c6 100644
--- a/include/asm-mips/linkage.h
+++ b/include/asm-mips/linkage.h
@@ -5,4 +5,6 @@
#include <asm/asm.h>
#endif
+#define __weak __attribute__((weak))
+
#endif
OpenPOWER on IntegriCloud