summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/include/arch/amd64/mdcpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sys/include/arch/amd64/mdcpu.h b/src/sys/include/arch/amd64/mdcpu.h
index 98ecc16..420bdee 100644
--- a/src/sys/include/arch/amd64/mdcpu.h
+++ b/src/sys/include/arch/amd64/mdcpu.h
@@ -31,6 +31,9 @@
#define _MACHINE_MDCPU_H_ 1
#include <sys/types.h>
+#include <sys/cdefs.h>
+
+#define md_spinwait() __ASMV("pause")
/*
* Represents the machine dependent information