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 10 #include <asm/paravirt_privop.h> 11 #include <uapi/asm/intrinsics.h> 12 13 #ifndef __ASSEMBLY__ 14 #if defined(CONFIG_PARAVIRT) 15 # undef IA64_INTRINSIC_API 16 # undef IA64_INTRINSIC_MACRO 17 # ifdef ASM_SUPPORTED 18 # define IA64_INTRINSIC_API(name) paravirt_ ## name 19 # else 20 # define IA64_INTRINSIC_API(name) pv_cpu_ops.name 21 # endif 22 #define IA64_INTRINSIC_MACRO(name) paravirt_ ## name 23 #endif 24 #endif /* !__ASSEMBLY__ */ 25 #endif /* _ASM_IA64_INTRINSICS_H */ 26