diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-09-27 16:14:50 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-09-27 16:14:50 +0200 |
commit | d4daf0fa04f3e560f113ae5b6e48e15054bf62f7 (patch) | |
tree | 1d43b8a194b7209a156ba0abdc6974ec9d1c2692 /debian/patches/random-fixes0002-Fix-build-with-DDEBUG.patch | |
parent | d5ca98b7b1a664df4260dc690e331ae0d6ae9f4a (diff) |
drop old patch series
Diffstat (limited to 'debian/patches/random-fixes0002-Fix-build-with-DDEBUG.patch')
-rw-r--r-- | debian/patches/random-fixes0002-Fix-build-with-DDEBUG.patch | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/debian/patches/random-fixes0002-Fix-build-with-DDEBUG.patch b/debian/patches/random-fixes0002-Fix-build-with-DDEBUG.patch deleted file mode 100644 index 5c90081..0000000 --- a/debian/patches/random-fixes0002-Fix-build-with-DDEBUG.patch +++ /dev/null @@ -1,77 +0,0 @@ -From 16a8848a4f04b429d0c76c72118a7b39002cd9c2 Mon Sep 17 00:00:00 2001 -From: Justus Winter <4winter@informatik.uni-hamburg.de> -Date: Sun, 27 Sep 2015 14:40:02 +0200 -Subject: [PATCH gnumach 2/4] 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. ---- - device/cirbuf.c | 2 ++ - i386/i386/debug.h | 2 ++ - i386/i386/debug_i386.c | 2 +- - kern/sched_prim.h | 4 +++- - 4 files changed, 8 insertions(+), 2 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) - -diff --git a/i386/i386/debug.h b/i386/i386/debug.h -index e94649b..84397ba 100644 ---- a/i386/i386/debug.h -+++ b/i386/i386/debug.h -@@ -23,10 +23,12 @@ - #ifndef _I386_DEBUG_ - #define _I386_DEBUG_ - -+#ifndef __ASSEMBLER__ - /* Dump a saved state. - Probably a good idea to have this around - even when DEBUG isn't turned on. */ - void dump_ss(const struct i386_saved_state *st); -+#endif /* __ASSEMBLER__ */ - - #ifdef DEBUG - -diff --git a/i386/i386/debug_i386.c b/i386/i386/debug_i386.c -index 7657808..f0fe2ae 100644 ---- a/i386/i386/debug_i386.c -+++ b/i386/i386/debug_i386.c -@@ -128,7 +128,7 @@ debug_trace_dump(void) - splx(s); - } - --#include "syscall_sw.h" -+#include <kern/syscall_sw.h> - - int syscall_trace = 0; - -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 */ - --- -2.1.4 - |