summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-02-08 18:23:46 +0000
committerjhb <jhb@FreeBSD.org>2002-02-08 18:23:46 +0000
commit62824956eb2a2f7168f8bd314f521031f050db94 (patch)
treec0feebf50a39128b6e96a81b9f98d465baae24d8 /sys/alpha
parentb2c3dc0715238f31354d912c83694da380a31203 (diff)
downloadFreeBSD-src-62824956eb2a2f7168f8bd314f521031f050db94.zip
FreeBSD-src-62824956eb2a2f7168f8bd314f521031f050db94.tar.gz
Turn interrupt thread preemption back on on the alpha.
Tested by: mjacob
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/alpha/interrupt.c b/sys/alpha/alpha/interrupt.c
index 31a74d5..b33afa8 100644
--- a/sys/alpha/alpha/interrupt.c
+++ b/sys/alpha/alpha/interrupt.c
@@ -448,7 +448,7 @@ alpha_dispatch_intr(void *frame, unsigned long vector)
"alpha_dispatch_intr: disabling vector 0x%x", i->vector);
ithd->it_disable(ithd->it_vector);
}
- error = ithread_schedule(ithd, 0); /* XXX:no preemption for now */
+ error = ithread_schedule(ithd, !cold);
KASSERT(error == 0, ("got an impossible stray interrupt"));
}
OpenPOWER on IntegriCloud