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