Linux 3.16-rc2
[linux/fpc-iii.git] / arch / ia64 / include / asm / intrinsics.h
blob20477ea111ba2f2e71271e48b826fb22fc5ef041
1 /*
2 * Compiler-dependent intrinsics.
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
10 #include <asm/paravirt_privop.h>
11 #include <uapi/asm/intrinsics.h>
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 */