summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-alpha/compiler.h')
-rw-r--r--include/asm-alpha/compiler.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-alpha/compiler.h b/include/asm-alpha/compiler.h
index 399c33b7be51..0a4a8b40dfcd 100644
--- a/include/asm-alpha/compiler.h
+++ b/include/asm-alpha/compiler.h
@@ -98,6 +98,9 @@
#undef inline
#undef __inline__
#undef __inline
-
+#if __GNUC__ == 3 && __GNUC_MINOR__ >= 1 || __GNUC__ > 3
+#undef __always_inline
+#define __always_inline inline __attribute__((always_inline))
+#endif
#endif /* __ALPHA_COMPILER_H */
OpenPOWER on IntegriCloud