lib, linux: move linux specific defines to linux/compat.h
[oweals/u-boot.git] / include / linux / compiler-gcc4.h
index 94dea3ffbfa19576e2cd8bb59b56658465101b49..27d11ca7b08f398b68a372104748384248d0b1db 100644 (file)
@@ -12,7 +12,9 @@
 #define __used                 __attribute__((__used__))
 #define __must_check           __attribute__((warn_unused_result))
 #define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
-#define __always_inline                inline __attribute__((always_inline))
+#ifndef __always_inline
+# define __always_inline               inline __attribute__((always_inline))
+#endif
 
 /*
  * A trick to suppress uninitialized variable warning without generating any