xref: /openbmc/linux/arch/alpha/include/asm/compiler.h (revision 8ffdff6a)
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