diff options
author | jhb <jhb@FreeBSD.org> | 2000-11-15 01:48:49 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-11-15 01:48:49 +0000 |
commit | 7363cbb41679717763ad64395af4d343027577d4 (patch) | |
tree | c84b0458b19ed3704a922a1cdf8309b69480d80e /sys | |
parent | ebf980ffa4c56ac41b9f7956bd8a977ccabb5555 (diff) | |
download | FreeBSD-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.s | 2 |
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 |