summaryrefslogtreecommitdiff
path: root/kern/spinlock.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-02-04 16:21:10 +0100
committerRichard Braun <rbraun@sceen.net>2017-02-04 16:21:10 +0100
commit7a00044da882d30b1dea8757c7f6a1ccaa9ee08d (patch)
tree9e342eca8a673ac9b0982c3e4bda22ff5158690e /kern/spinlock.h
parentd09b913612712c7d58e5ee3ee20703cce63ad0b0 (diff)
kern/types: split into module-specific type headers
Using a single header for all types causing inclusion circular dependencies isn't very elegant and doesn't scale.
Diffstat (limited to 'kern/spinlock.h')
-rw-r--r--kern/spinlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/spinlock.h b/kern/spinlock.h
index f63c4e0b..a9e82bc7 100644
--- a/kern/spinlock.h
+++ b/kern/spinlock.h
@@ -26,8 +26,8 @@
#include <kern/assert.h>
#include <kern/macros.h>
#include <kern/spinlock_i.h>
+#include <kern/spinlock_types.h>
#include <kern/thread.h>
-#include <kern/types.h>
#include <machine/cpu.h>
struct spinlock;