summaryrefslogtreecommitdiff
path: root/kern/spinlock_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/spinlock_i.h')
-rw-r--r--kern/spinlock_i.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/kern/spinlock_i.h b/kern/spinlock_i.h
index 63018afa..c07f6615 100644
--- a/kern/spinlock_i.h
+++ b/kern/spinlock_i.h
@@ -19,13 +19,10 @@
#define _KERN_SPINLOCK_I_H
#include <kern/assert.h>
+#include <kern/types.h>
#include <machine/atomic.h>
#include <machine/cpu.h>
-struct spinlock {
- unsigned int locked;
-};
-
/*
* Return 0 on success, 1 if busy.
*/