aboutsummaryrefslogtreecommitdiff
path: root/sys/isa
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2018-03-11 18:20:49 +0000
committerIan Lepore <ian@FreeBSD.org>2018-03-11 18:20:49 +0000
commit8355852f852fd1aabb2fcd0d5ee0358ab4b42304 (patch)
tree04fcb9b8207fd8cdcaa7d94960bedc0641c7ceb9 /sys/isa
parentdccd41cb397f8689bd38050ee03163eca7194e3f (diff)
downloadsrc-8355852f852fd1aabb2fcd0d5ee0358ab4b42304.tar.gz
src-8355852f852fd1aabb2fcd0d5ee0358ab4b42304.zip
Use separate mutexes for atrtc and i8254 locking. Change all the strange
un-function-like RTC_LOCK/UNLOCK macro usage into normal function calls. Since there is no longer any need to handle register access from a debugger context, those function calls can just be regular mutex lock/unlock calls. Requested by: bde
Notes
Notes: svn path=/head/; revision=330773
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/rtc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/isa/rtc.h b/sys/isa/rtc.h
index 504c5d0c2d27..6618872d70c1 100644
--- a/sys/isa/rtc.h
+++ b/sys/isa/rtc.h
@@ -114,7 +114,6 @@
#define RTC_CENTURY 0x32 /* current century */
#ifdef _KERNEL
-extern struct mtx clock_lock;
extern struct mtx atrtc_time_lock;
extern int atrtcclock_disable;
int rtcin(int reg);