blob: 20477ea111ba2f2e71271e48b826fb22fc5ef041 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * Compiler-dependent intrinsics.
3 *
4 * Copyright (C) 2002-2003 Hewlett-Packard Co
5 * David Mosberger-Tang <davidm@hpl.hp.com>
6 */
David Howells43e40f22012-10-09 09:47:00 +01007#ifndef _ASM_IA64_INTRINSICS_H
8#define _ASM_IA64_INTRINSICS_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
Isaku Yamahata1ff730b2008-05-19 22:13:34 +090010#include <asm/paravirt_privop.h>
David Howells43e40f22012-10-09 09:47:00 +010011#include <uapi/asm/intrinsics.h>
Isaku Yamahata1ff730b2008-05-19 22:13:34 +090012
13#ifndef __ASSEMBLY__
David Howells1632b9e2011-12-13 15:07:49 +000014#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
Isaku Yamahata1ff730b2008-05-19 22:13:34 +090024#endif /* !__ASSEMBLY__ */
Linus Torvalds1da177e2005-04-16 15:20:36 -070025#endif /* _ASM_IA64_INTRINSICS_H */