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/teg2 | |
parent | 55d31f2cab0101dfbdeb2857e2fce2629080cf02 (diff) |
kernel: more kproc pexit() and sleep error handling
Diffstat (limited to 'sys/src/9/teg2')
-rw-r--r-- | sys/src/9/teg2/ether8169.c | 2 | ||||
-rw-r--r-- | sys/src/9/teg2/main.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/9/teg2/ether8169.c b/sys/src/9/teg2/ether8169.c index 0f3b1ec9d..67f3bdc90 100644 --- a/sys/src/9/teg2/ether8169.c +++ b/sys/src/9/teg2/ether8169.c @@ -855,6 +855,8 @@ rproc(void* arg) edev = arg; ctlr = edev->ctlr; + while(waserror()) + ; for(;;){ /* wait for next interrupt */ ilock(&ctlr->reglock); diff --git a/sys/src/9/teg2/main.c b/sys/src/9/teg2/main.c index b3bf81e17..4c4df93ce 100644 --- a/sys/src/9/teg2/main.c +++ b/sys/src/9/teg2/main.c @@ -692,7 +692,6 @@ init0(void) poperror(); } kproc("alarm", alarmkproc, 0); -// kproc("startcpusproc", startcpusproc, nil); touser(sp); } |