Allow the clock lock to recurse.

This commit is contained in:
John Baldwin 2001-06-25 23:56:56 +00:00
parent eaa942ebbd
commit f565449541
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78787

View File

@ -1002,7 +1002,7 @@ alpha_init(pfn, ptb, bim, bip, biv)
mtx_init(&Giant, "Giant", MTX_DEF | MTX_RECURSE);
mtx_init(&sched_lock, "sched lock", MTX_SPIN | MTX_RECURSE);
mtx_init(&proc0.p_mtx, "process lock", MTX_DEF);
mtx_init(&clock_lock, "clk", MTX_SPIN);
mtx_init(&clock_lock, "clk", MTX_SPIN | MTX_RECURSE);
mtx_lock(&Giant);
/*