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