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.
This commit is contained in:
John Baldwin 2000-11-15 01:48:49 +00:00
parent 4ae465d099
commit 8b9d6e94af

View File

@ -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