xref: /illumos-gate/usr/src/compat/bhyve/amd64/machine/cpu.h (revision d0b3c59ba652f183eeec1414dd9fbdc56bf05cc8)
1*d0b3c59bSPatrick Mooney /*
2*d0b3c59bSPatrick Mooney  * This file and its contents are supplied under the terms of the
3*d0b3c59bSPatrick Mooney  * Common Development and Distribution License ("CDDL"), version 1.0.
4*d0b3c59bSPatrick Mooney  * You may only use this file in accordance with the terms of version
5*d0b3c59bSPatrick Mooney  * 1.0 of the CDDL.
6*d0b3c59bSPatrick Mooney  *
7*d0b3c59bSPatrick Mooney  * A full copy of the text of the CDDL should have accompanied this
8*d0b3c59bSPatrick Mooney  * source.  A copy of the CDDL is also available via the Internet at
9*d0b3c59bSPatrick Mooney  * http://www.illumos.org/license/CDDL.
10*d0b3c59bSPatrick Mooney  */
11*d0b3c59bSPatrick Mooney 
12*d0b3c59bSPatrick Mooney /*
13*d0b3c59bSPatrick Mooney  * Copyright 2017 Joyent, Inc.
14*d0b3c59bSPatrick Mooney  */
15*d0b3c59bSPatrick Mooney 
16*d0b3c59bSPatrick Mooney #ifndef _COMPAT_FREEBSD_AMD64_MACHINE_CPU_H
17*d0b3c59bSPatrick Mooney #define	_COMPAT_FREEBSD_AMD64_MACHINE_CPU_H
18*d0b3c59bSPatrick Mooney 
19*d0b3c59bSPatrick Mooney #include <sys/cpu.h>
20*d0b3c59bSPatrick Mooney 
21*d0b3c59bSPatrick Mooney #define	cpu_spinwait()	SMT_PAUSE()
22*d0b3c59bSPatrick Mooney 
23*d0b3c59bSPatrick Mooney #endif /* _COMPAT_FREEBSD_AMD64_MACHINE_CPU_H */
24