From: Alan Cox Date: Mon, 26 Mar 2018 19:59:35 +0000 (+0100) Subject: process: fix build bugs X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=60d23e4df23e382d7c3282c8ee646e1960b41aa6;p=FUZIX.git process: fix build bugs --- diff --git a/Kernel/process.c b/Kernel/process.c index df9a3f4d..4d9e6309 100644 --- a/Kernel/process.c +++ b/Kernel/process.c @@ -57,7 +57,7 @@ void psleep(void *event) void psleep_nosig(void *event) { - do_pleep(event, P_IOWAIT); + do_psleep(event, P_IOWAIT); } /* wakeup() looks for any process waiting on the event, @@ -569,7 +569,7 @@ uint8_t chksigs(void) uint8_t b; /* Sleeping without signals allowed */ - if (p->status == P_IOWAIT) + if (udata.u_ptab->p_status == P_IOWAIT) return 0; /* Fast path - no signals pending means no work.