From d1e83bee2e59a4f15e82726c6b5667939d05ccfb Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 10 Jan 2015 00:40:25 +0000 Subject: [PATCH] process.c: fix build with the full debug enabled --- Kernel/process.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Kernel/process.c b/Kernel/process.c index 2ca0349b..68481ba3 100644 --- a/Kernel/process.c +++ b/Kernel/process.c @@ -1,5 +1,5 @@ -#undef DEBUG /* turn this on to enable syscall tracing */ -#undef DEBUGHARDER /* report calls to wakeup() that lead nowhere */ +#define DEBUG /* turn this on to enable syscall tracing */ +#define DEBUGHARDER /* report calls to wakeup() that lead nowhere */ #undef DEBUGREALLYHARD /* turn on getproc dumping */ #include @@ -101,12 +101,12 @@ ptptr getproc(void) ptptr haltafter; #ifdef DEBUG #ifdef DEBUGREALLYHARD + ptptr pp; kputs("getproc start ... "); for (pp = ptab; pp < ptab_end; pp++) kprintf("ptab[0x%x]: pid=%d uid=%d status=%d, page=0x%x\n", pp, pp->p_pid, pp->p_uid, pp->p_status, pp->p_page); - */ #endif #endif /* yes please, interrupts on. */ -- 2.34.1