diff options
author | Ian Lepore <ian@FreeBSD.org> | 2018-03-11 19:56:07 +0000 |
---|---|---|
committer | Ian Lepore <ian@FreeBSD.org> | 2018-03-11 19:56:07 +0000 |
commit | 4b502f0016bb9889754e94600e99625197979bde (patch) | |
tree | 4be4b0c62fbe3d8abac2cf5fe5fd109de69a1e46 /sys/x86 | |
parent | d570044ce1552a68faccc81562a6209afd0f5e65 (diff) | |
download | src-4b502f0016bb9889754e94600e99625197979bde.tar.gz src-4b502f0016bb9889754e94600e99625197979bde.zip |
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.
Notes
Notes:
svn path=/head/; revision=330782
Diffstat (limited to 'sys/x86')
-rw-r--r-- | sys/x86/isa/atrtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/x86/isa/atrtc.c b/sys/x86/isa/atrtc.c index b2568750e232..eef98458d06e 100644 --- a/sys/x86/isa/atrtc.c +++ b/sys/x86/isa/atrtc.c @@ -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; |