aboutsummaryrefslogtreecommitdiff
path: root/sys/include/arch/amd64/cdefs.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-04-17 02:53:00 -0400
committerIan Moffett <ian@osmora.org>2025-04-17 02:57:37 -0400
commit5f13039023890e9c634912704464601f199c672d (patch)
tree334ea5fa6fcfd3c08972de9f75e8c3b8bc04b745 /sys/include/arch/amd64/cdefs.h
parent577441588d3ed1856ce8ea00b07522a9d02a16bb (diff)
kernel: Enable interrupts upon sched entry
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/arch/amd64/cdefs.h')
-rw-r--r--sys/include/arch/amd64/cdefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/arch/amd64/cdefs.h b/sys/include/arch/amd64/cdefs.h
index 98d3f0b..29a8841 100644
--- a/sys/include/arch/amd64/cdefs.h
+++ b/sys/include/arch/amd64/cdefs.h
@@ -31,6 +31,7 @@
#define _AMD64_CDEFS_H_
#include <sys/cdefs.h>
+#include <machine/sync.h>
#define md_pause() __ASMV("rep; nop")