xref: /linux/arch/alpha/include/asm/compiler.h (revision 0d3b051adbb72ed81956447d0d1e54d5943ee6f5)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ALPHA_COMPILER_H
3 #define __ALPHA_COMPILER_H
4 
5 #include <uapi/asm/compiler.h>
6 
7 /* Some idiots over in <linux/compiler.h> thought inline should imply
8    always_inline.  This breaks stuff.  We'll include this file whenever
9    we run into such problems.  */
10 
11 #include <linux/compiler.h>
12 #undef inline
13 #undef __inline__
14 #undef __inline
15 #undef __always_inline
16 #define __always_inline		inline __attribute__((always_inline))
17 
18 #endif /* __ALPHA_COMPILER_H */
19