summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-09-27 14:40:02 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-09-27 15:45:50 +0200
commit16a8848a4f04b429d0c76c72118a7b39002cd9c2 (patch)
treeda02356b1580bab8629f06f5a0f89ff458dc5273 /kern
parentf1401610bbb8363e7f015f07b825320dd69c13ca (diff)
Fix build with -DDEBUG
* device/cirbuf.c: Add missing include. * i386/i386/debug.h (dump_ss): Hide declaration from assembler. * i386/i386/debug_i386.c: Fix include. * kern/sched_prim.h: Add missing include, fix declaration.
Diffstat (limited to 'kern')
-rw-r--r--kern/sched_prim.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kern/sched_prim.h b/kern/sched_prim.h
index bb1865cd..dfb2f54b 100644
--- a/kern/sched_prim.h
+++ b/kern/sched_prim.h
@@ -176,7 +176,9 @@ void do_thread_scan(void);
thread_t choose_pset_thread(processor_t myprocessor, processor_set_t pset);
#if DEBUG
-void checkrq(run_queue_t rq, char *msg);
+#include <kern/sched.h> /* for run_queue_t */
+
+void checkrq(run_queue_t rq, const char *msg);
void thread_check(thread_t th, run_queue_t rq);
#endif /* DEBUG */