summaryrefslogtreecommitdiff
path: root/kernel/spinlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/spinlock.c')
-rw-r--r--kernel/spinlock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/spinlock.c b/kernel/spinlock.c
index c6d0023..33ed178 100644
--- a/kernel/spinlock.c
+++ b/kernel/spinlock.c
@@ -2,6 +2,7 @@
#include "lib/logger/log.h"
#include "lib/int/stdint.h"
+#include "x86.h"
// https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html