intrinsics.h 634 B

12345678910111213141516171819202122232425
  1. /*
  2. * Compiler-dependent intrinsics.
  3. *
  4. * Copyright (C) 2002-2003 Hewlett-Packard Co
  5. * David Mosberger-Tang <davidm@hpl.hp.com>
  6. */
  7. #ifndef _ASM_IA64_INTRINSICS_H
  8. #define _ASM_IA64_INTRINSICS_H
  9. #include <asm/paravirt_privop.h>
  10. #include <uapi/asm/intrinsics.h>
  11. #ifndef __ASSEMBLY__
  12. #if defined(CONFIG_PARAVIRT)
  13. # undef IA64_INTRINSIC_API
  14. # undef IA64_INTRINSIC_MACRO
  15. # ifdef ASM_SUPPORTED
  16. # define IA64_INTRINSIC_API(name) paravirt_ ## name
  17. # else
  18. # define IA64_INTRINSIC_API(name) pv_cpu_ops.name
  19. # endif
  20. #define IA64_INTRINSIC_MACRO(name) paravirt_ ## name
  21. #endif
  22. #endif /* !__ASSEMBLY__ */
  23. #endif /* _ASM_IA64_INTRINSICS_H */