summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-12-16 01:18:22 -0500
committerIan Moffett <ian@osmora.org>2024-12-16 01:18:22 -0500
commita9e8529c42405ef95b775d84c01e022627c5f258 (patch)
treef272c33886a8db32d48cf1a11a8d3cbde266fa9d /sys/kern
parent9f5dae52cc66fbae16781fd73174c9d220e83560 (diff)
kernel: synch: Move spinlock_usleep()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_synch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index 67ef617..9d214bb 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -31,6 +31,7 @@
#include <sys/systm.h>
#include <sys/errno.h>
#include <sys/syslog.h>
+#include <sys/spinlock.h>
#include <dev/timer.h>
#define pr_trace(fmt, ...) kprintf("synch: " fmt, ##__VA_ARGS__)