diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2011-04-20 07:13:52 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2011-04-20 07:13:52 +0000 |
commit | 7b6f6d32f5cb494e24e7ad6500cbb42cb7928f6e (patch) | |
tree | 8be09c43488a554c68a4f1bebdb50f0831ac7634 /usr.sbin/sysmerge/sysmerge.sh | |
parent | ba25f353c77e74a211e2005b99712ac3d362f42e (diff) |
Interrupt handlers should only return 1 if they did some work. The
intrstat on arc may have other status bits set which are masked as
interrupt cause and not handled by our driver. So the intrstat ==
0 check does not work reliably. It is better to do use a variable
that is set to 1 when work is done and the cause is cleared.
This makes arc(4) behave on systems where interrupts are shared.
OK deraadt@ dlg@
Diffstat (limited to 'usr.sbin/sysmerge/sysmerge.sh')
0 files changed, 0 insertions, 0 deletions