Remove MTX_NOPROFILE from atrtc_lock, it was inappropriately copy/pasted

from the i8254 driver when I created separate mutexes for each.  The i8254
driver could be the active timecounter, leading to recursion during mutex
profiling, but the atrtc driver cannot be a timecounter, so it isn't needed.
This commit is contained in:
Ian Lepore 2018-03-11 19:56:07 +00:00
parent d570044ce1
commit 4b502f0016

View File

@ -63,7 +63,7 @@ __FBSDID("$FreeBSD$");
* on x86 platforms.
*/
struct mtx atrtc_lock;
MTX_SYSINIT(atrtc_lock_init, &atrtc_lock, "atrtc", MTX_SPIN | MTX_NOPROFILE);
MTX_SYSINIT(atrtc_lock_init, &atrtc_lock, "atrtc", MTX_SPIN);
int atrtcclock_disable = 0;