process: fix build bugs
authorAlan Cox <alan@linux.intel.com>
Mon, 26 Mar 2018 19:59:35 +0000 (20:59 +0100)
committerAlan Cox <alan@linux.intel.com>
Mon, 26 Mar 2018 19:59:35 +0000 (20:59 +0100)
Kernel/process.c

index df9a3f4..4d9e630 100644 (file)
@@ -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.