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 /device | |
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 'device')
-rw-r--r-- | device/cirbuf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/device/cirbuf.c b/device/cirbuf.c index dfb06df..391297c 100644 --- a/device/cirbuf.c +++ b/device/cirbuf.c @@ -42,6 +42,8 @@ /* if c_cl == c_cf - 1, buffer is full */ #if DEBUG +#include <mach/boolean.h> + boolean_t cb_check_enable = FALSE; #define CB_CHECK(cb) if (cb_check_enable) cb_check(cb) |