summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-11-15 01:48:49 +0000
committerjhb <jhb@FreeBSD.org>2000-11-15 01:48:49 +0000
commit7363cbb41679717763ad64395af4d343027577d4 (patch)
treec84b0458b19ed3704a922a1cdf8309b69480d80e /sys
parentebf980ffa4c56ac41b9f7956bd8a977ccabb5555 (diff)
downloadFreeBSD-src-7363cbb41679717763ad64395af4d343027577d4.zip
FreeBSD-src-7363cbb41679717763ad64395af4d343027577d4.tar.gz
Enable all interrupts in switch_trampoline after releasing the sched_lock.
This is needed so that kernel threads created before interrupts are enabled do not run with interrupts disabled once the system is up and running.
Diffstat (limited to 'sys')
-rw-r--r--sys/alpha/alpha/swtch.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/alpha/alpha/swtch.s b/sys/alpha/alpha/swtch.s
index 3536039..3c368ab 100644
--- a/sys/alpha/alpha/swtch.s
+++ b/sys/alpha/alpha/swtch.s
@@ -212,6 +212,8 @@ Lcs7:
*/
LEAF(switch_trampoline, 0)
MTX_EXIT(sched_lock)
+ ldiq a0, ALPHA_PSL_IPL_0 /* drop IPL to zero */
+ call_pal PAL_OSF1_swpipl
mov s0, pv
mov s1, ra
mov s2, a0
OpenPOWER on IntegriCloud