2005-04-16 15:20:36 -07:00
|
|
|
/*
|
|
|
|
* Compiler-dependent intrinsics.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2002-2003 Hewlett-Packard Co
|
|
|
|
* David Mosberger-Tang <davidm@hpl.hp.com>
|
|
|
|
*/
|
2012-10-09 09:47:00 +01:00
|
|
|
#ifndef _ASM_IA64_INTRINSICS_H
|
|
|
|
#define _ASM_IA64_INTRINSICS_H
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-05-19 22:13:34 +09:00
|
|
|
#include <asm/paravirt_privop.h>
|
2012-10-09 09:47:00 +01:00
|
|
|
#include <uapi/asm/intrinsics.h>
|
2008-05-19 22:13:34 +09:00
|
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
2011-12-13 15:07:49 +00:00
|
|
|
#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
|
2008-05-19 22:13:34 +09:00
|
|
|
#endif /* !__ASSEMBLY__ */
|
2005-04-16 15:20:36 -07:00
|
|
|
#endif /* _ASM_IA64_INTRINSICS_H */
|