mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 03:39:02 +00:00
Allow the clock lock to recurse.
This commit is contained in:
parent
eaa942ebbd
commit
f565449541
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78787
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user