summaryrefslogtreecommitdiff
path: root/sys/kern/subr_sleepqueue.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2008-01-25 19:44:46 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2008-01-25 19:44:46 +0000
commit02d23fdd7458dc35b958bc7e1c3dfc34126865d4 (patch)
tree92b9ee9237f69ae39b34f741f918fed4ea51217c /sys/kern/subr_sleepqueue.c
parentf455512fdd864fe4c5e2997210b4d96dd7e35807 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_sleepqueue.c')
-rw-r--r--sys/kern/subr_sleepqueue.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/subr_sleepqueue.c b/sys/kern/subr_sleepqueue.c
index 2a95ab67befb..559278f48bdb 100644
--- a/sys/kern/subr_sleepqueue.c
+++ b/sys/kern/subr_sleepqueue.c
@@ -817,8 +817,7 @@ sleepq_timeout(void *arg)
* sleepq_catch_signals().
*/
if (TD_ON_SLEEPQ(td)) {
- td->td_flags |= TDF_TIMEOUT | TDF_INTERRUPT;
- td->td_intrval = EWOULDBLOCK;
+ td->td_flags |= TDF_TIMEOUT;
thread_unlock(td);
return;
}