diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2008-11-06 22:11:37 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2008-11-06 22:11:37 +0000 |
commit | 8a3d593d83934938cf8a587690e9a0600aa7202c (patch) | |
tree | b08d7d2bb7caec838e7b030cdd8b59347cc23765 /sys/dev/pci/hifn7751.c | |
parent | 0a4376d78e0e202b27c65d29f5a0399458bfd7e9 (diff) |
Some paranoia and deconfusion.
- setrunnable should never be run on SIDL processes. That's a bug and will
cause all kinds of trouble. Change the switch statement to panic
if that happens.
- p->p_stat == SRUN implies that p != curproc since curproc will always be
SONPROC. This is a leftover from before SONPROC.
deraadt@ "commit"
Diffstat (limited to 'sys/dev/pci/hifn7751.c')
0 files changed, 0 insertions, 0 deletions