Don't bother setting the saved IPL in the sched_lock mutex as it doesn't

really do anything since the first mtx_enter() will overwrite the value
saved here.
This commit is contained in:
John Baldwin 2000-10-20 20:14:55 +00:00
parent cce1cd64ed
commit 8a6149a3a3

View File

@ -1032,11 +1032,6 @@ alpha_init(pfn, ptb, bim, bip, biv)
mtx_init(&Giant, "Giant", MTX_DEF | MTX_COLD); mtx_init(&Giant, "Giant", MTX_DEF | MTX_COLD);
mtx_init(&sched_lock, "sched lock", MTX_SPIN | MTX_COLD); mtx_init(&sched_lock, "sched lock", MTX_SPIN | MTX_COLD);
/*
* Enable interrupts on first release (in switch_trampoline).
*/
sched_lock.mtx_saveipl = ALPHA_PSL_IPL_0;
/* /*
* Look at arguments passed to us and compute boothowto. * Look at arguments passed to us and compute boothowto.
*/ */