compiler.h 498 B

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