]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-alpha/compiler.h
[PATCH] Fix 'make headers_check' for Alpha
[linux-2.6-omap-h63xx.git] / include / asm-alpha / compiler.h
index 00c6f57ad9a7a43ea189fb4b14a07f6218277872..d2768cc3d7a4ed578022b221bc877766d853f3ed 100644 (file)
@@ -90,6 +90,7 @@
   __asm__("stw %1,%0" : "=m"(mem) : "r"(val))
 #endif
 
+#ifdef __KERNEL__
 /* Some idiots over in <linux/compiler.h> thought inline should imply
    always_inline.  This breaks stuff.  We'll include this file whenever
    we run into such problems.  */
 #undef __always_inline
 #define __always_inline                inline __attribute__((always_inline))
 
+#endif /* __KERNEL__ */
+
 #endif /* __ALPHA_COMPILER_H */