summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2001-01-30 17:05:58 +0000
committerbde <bde@FreeBSD.org>2001-01-30 17:05:58 +0000
commit1a8382d6ee1da9ec7ac39eca344cae3440f250e5 (patch)
treea827a1458189a92f20c5f29e006c7fffe154a6cc /sys
parent2af2ec9444a08ee237945ba2ab8d7bdc718f8adb (diff)
downloadFreeBSD-src-1a8382d6ee1da9ec7ac39eca344cae3440f250e5.zip
FreeBSD-src-1a8382d6ee1da9ec7ac39eca344cae3440f250e5.tar.gz
Added used include of <sys/mutex.h>. The SMP case was broken by
incompletely converting simplelocks to mutexes (COM_LOCK() is supposed to hide the SMP locking internals, but it now depends on mutex interfaces being visible).
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/cy/cy.c1
-rw-r--r--sys/dev/cy/cy_isa.c1
-rw-r--r--sys/i386/isa/cy.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c
index 18245e3..bb91d19 100644
--- a/sys/dev/cy/cy.c
+++ b/sys/dev/cy/cy.c
@@ -78,6 +78,7 @@
#include <sys/ipl.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
+#include <sys/mutex.h>
#include <sys/syslog.h>
#include <machine/lock.h>
#include <machine/psl.h>
diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c
index 18245e3..bb91d19 100644
--- a/sys/dev/cy/cy_isa.c
+++ b/sys/dev/cy/cy_isa.c
@@ -78,6 +78,7 @@
#include <sys/ipl.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
+#include <sys/mutex.h>
#include <sys/syslog.h>
#include <machine/lock.h>
#include <machine/psl.h>
diff --git a/sys/i386/isa/cy.c b/sys/i386/isa/cy.c
index 18245e3..bb91d19 100644
--- a/sys/i386/isa/cy.c
+++ b/sys/i386/isa/cy.c
@@ -78,6 +78,7 @@
#include <sys/ipl.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
+#include <sys/mutex.h>
#include <sys/syslog.h>
#include <machine/lock.h>
#include <machine/psl.h>
OpenPOWER on IntegriCloud