From: David van Moolenbroek Date: Mon, 7 Nov 2011 18:59:02 +0000 (+0100) Subject: Kernel: fix compilation with DEBUG_RACE on X-Git-Tag: v3.2.0~268 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/expt.png?a=commitdiff_plain;h=0f3423cd752f8d6f63461712b545c14175aaa21a;p=minix.git Kernel: fix compilation with DEBUG_RACE on --- diff --git a/kernel/proc.c b/kernel/proc.c index 95291e0cd..7e2580bb8 100644 --- a/kernel/proc.c +++ b/kernel/proc.c @@ -1737,8 +1737,8 @@ PUBLIC void proc_no_time(struct proc * p) */ p->p_cpu_time_left = ms_2_cpu_time(p->p_quantum_size_ms); #if DEBUG_RACE - RTS_SET(proc_ptr, RTS_PREEMPTED); - RTS_UNSET(proc_ptr, RTS_PREEMPTED); + RTS_SET(p, RTS_PREEMPTED); + RTS_UNSET(p, RTS_PREEMPTED); #endif } }