diff options
author | cinap_lenrek <cinap_lenrek@rei2.9hal> | 2012-02-06 05:28:57 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@rei2.9hal> | 2012-02-06 05:28:57 +0100 |
commit | 5acde1e791e879cc24dc4fe8738994ea3a4bb9ba (patch) | |
tree | b147efa4ce3f9846e688eb611347eb43766d47ab /sys/src/9/port/proc.c | |
parent | 1a450db960aa3c542c84a5fff0f66c5ce95c853f (diff) |
make smalloc() uninterruptable as most callers cant handle it anyway
Diffstat (limited to 'sys/src/9/port/proc.c')
-rw-r--r-- | sys/src/9/port/proc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/src/9/port/proc.c b/sys/src/9/port/proc.c index 37cdbf18d..b3249ec97 100644 --- a/sys/src/9/port/proc.c +++ b/sys/src/9/port/proc.c @@ -1123,12 +1123,7 @@ pexit(char *exitstr, int freemem) panic("boot process died: %s", exitstr); } - while(waserror()) - ; - wq = smalloc(sizeof(Waitq)); - poperror(); - wq->w.pid = up->pid; utime = up->time[TUser] + up->time[TCUser]; stime = up->time[TSys] + up->time[TCSys]; |