compiler-intel.h 555 B

123456789101112131415161718192021222324
  1. /* Never include this file directly. Include <linux/compiler.h> instead. */
  2. #ifdef __ECC
  3. /* Some compiler specific definitions are overwritten here
  4. * for Intel ECC compiler
  5. */
  6. #include <asm/intrinsics.h>
  7. /* Intel ECC compiler doesn't support gcc specific asm stmts.
  8. * It uses intrinsics to do the equivalent things.
  9. */
  10. #undef barrier
  11. #undef RELOC_HIDE
  12. #define barrier() __memory_barrier()
  13. #define RELOC_HIDE(ptr, off) \
  14. ({ unsigned long __ptr; \
  15. __ptr = (unsigned long) (ptr); \
  16. (typeof(ptr)) (__ptr + (off)); })
  17. #endif