diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-09-27 14:40:02 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-09-27 15:45:50 +0200 |
commit | 16a8848a4f04b429d0c76c72118a7b39002cd9c2 (patch) | |
tree | da02356b1580bab8629f06f5a0f89ff458dc5273 /kern | |
parent | f1401610bbb8363e7f015f07b825320dd69c13ca (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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kern/sched_prim.h b/kern/sched_prim.h index bb1865c..dfb2f54 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 */ |