X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Fasm-alpha%2Fcompiler.h;h=d2768cc3d7a4ed578022b221bc877766d853f3ed;hb=cdb54fac35812a21943f0e506e8e3b94b469a77c;hp=0a4a8b40dfcd7a623e6ad0f95c3c3d4a7e969a76;hpb=87e807b6c461bbd449496a4c3ab78ab164a4ba97;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-alpha/compiler.h b/include/asm-alpha/compiler.h index 0a4a8b40dfc..d2768cc3d7a 100644 --- a/include/asm-alpha/compiler.h +++ b/include/asm-alpha/compiler.h @@ -90,6 +90,7 @@ __asm__("stw %1,%0" : "=m"(mem) : "r"(val)) #endif +#ifdef __KERNEL__ /* Some idiots over in thought inline should imply always_inline. This breaks stuff. We'll include this file whenever we run into such problems. */ @@ -98,9 +99,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 /* __KERNEL__ */ #endif /* __ALPHA_COMPILER_H */