mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 13:06:45 +07:00
43e40f25d2
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
26 lines
634 B
C
26 lines
634 B
C
/*
|
|
* 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 */
|