aboutsummaryrefslogtreecommitdiff
path: root/kern/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/thread.h')
-rw-r--r--kern/thread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kern/thread.h b/kern/thread.h
index 8547464d..bf07828a 100644
--- a/kern/thread.h
+++ b/kern/thread.h
@@ -42,7 +42,6 @@
#include <mach/port.h>
#include <mach/vm_prot.h>
#include <kern/ast.h>
-#include <kern/cpu_number.h>
#include <kern/mach_clock.h>
#include <kern/queue.h>
#include <kern/pc_sample.h>
@@ -235,6 +234,8 @@ struct thread {
#endif
};
+#include <kern/cpu_number.h>
+
/* typedef of thread_t is in kern/kern_types.h */
typedef struct thread_shuttle *thread_shuttle_t;
#define THREAD_NULL ((thread_t) 0)