Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __ALPHA_COMPILER_H |
| 2 | #define __ALPHA_COMPILER_H |
| 3 | |
David Howells | 96433f6e | 2012-12-17 13:47:09 +0000 | [diff] [blame] | 4 | #include <uapi/asm/compiler.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | /* 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 Kokshaysky | 7243cc0 | 2005-09-22 21:43:58 -0700 | [diff] [blame] | 14 | #undef __always_inline |
| 15 | #define __always_inline inline __attribute__((always_inline)) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | #endif /* __ALPHA_COMPILER_H */ |