blob: a7720b96bcc9ec515f8efe7553590e9f539d2e8b [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __ALPHA_COMPILER_H
2#define __ALPHA_COMPILER_H
3
David Howells96433f6e2012-12-17 13:47:09 +00004#include <uapi/asm/compiler.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
Linus Torvalds1da177e2005-04-16 15:20:36 -07006/* Some idiots over in <linux/compiler.h> thought inline should imply
7 always_inline. This breaks stuff. We'll include this file whenever
8 we run into such problems. */
9
10#include <linux/compiler.h>
11#undef inline
12#undef __inline__
13#undef __inline
Ivan Kokshaysky7243cc02005-09-22 21:43:58 -070014#undef __always_inline
15#define __always_inline inline __attribute__((always_inline))
Linus Torvalds1da177e2005-04-16 15:20:36 -070016
Linus Torvalds1da177e2005-04-16 15:20:36 -070017#endif /* __ALPHA_COMPILER_H */