diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2013-11-22 22:56:34 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2013-11-22 22:56:34 +0100 |
commit | 98f47d5867cbbaa06f2c9080c301c9191e196205 (patch) | |
tree | b3cd1e439a63619058ea0c6f58824ff0aaf71dce /sys/src/9/ppc/mmu.c | |
parent | 55d31f2cab0101dfbdeb2857e2fce2629080cf02 (diff) |
kernel: more kproc pexit() and sleep error handling
Diffstat (limited to 'sys/src/9/ppc/mmu.c')
-rw-r--r-- | sys/src/9/ppc/mmu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/src/9/ppc/mmu.c b/sys/src/9/ppc/mmu.c index 73155e448..c2997072e 100644 --- a/sys/src/9/ppc/mmu.c +++ b/sys/src/9/ppc/mmu.c @@ -80,6 +80,9 @@ mmusweep(void*) int i, x, sweepcolor; ulong *ptab, *ptabend, ptecol; + while(waserror()) + ; + for(;;) { if(PIDCOLOR(m->mmupid) != m->trigcolor) sleep(&m->sweepr, work, nil); |