blob: 5159ba259d652db9711c7e29d56a32fa0ff3d71d [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* 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 */