summaryrefslogtreecommitdiffstats
path: root/kernel/arch/ia64/include/asm/intrinsics.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/ia64/include/asm/intrinsics.h')
-rw-r--r--kernel/arch/ia64/include/asm/intrinsics.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/kernel/arch/ia64/include/asm/intrinsics.h b/kernel/arch/ia64/include/asm/intrinsics.h
new file mode 100644
index 000000000..20477ea11
--- /dev/null
+++ b/kernel/arch/ia64/include/asm/intrinsics.h
@@ -0,0 +1,25 @@
+/*
+ * Compiler-dependent intrinsics.
+ *
+ * Copyright (C) 2002-2003 Hewlett-Packard Co
+ * David Mosberger-Tang <davidm@hpl.hp.com>
+ */
+#ifndef _ASM_IA64_INTRINSICS_H
+#define _ASM_IA64_INTRINSICS_H
+
+#include <asm/paravirt_privop.h>
+#include <uapi/asm/intrinsics.h>
+
+#ifndef __ASSEMBLY__
+#if defined(CONFIG_PARAVIRT)
+# undef IA64_INTRINSIC_API
+# undef IA64_INTRINSIC_MACRO
+# ifdef ASM_SUPPORTED
+# define IA64_INTRINSIC_API(name) paravirt_ ## name
+# else
+# define IA64_INTRINSIC_API(name) pv_cpu_ops.name
+# endif
+#define IA64_INTRINSIC_MACRO(name) paravirt_ ## name
+#endif
+#endif /* !__ASSEMBLY__ */
+#endif /* _ASM_IA64_INTRINSICS_H */