diff options
author | bde <bde@FreeBSD.org> | 2001-01-30 17:05:58 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2001-01-30 17:05:58 +0000 |
commit | 1a8382d6ee1da9ec7ac39eca344cae3440f250e5 (patch) | |
tree | a827a1458189a92f20c5f29e006c7fffe154a6cc /sys/dev | |
parent | 2af2ec9444a08ee237945ba2ab8d7bdc718f8adb (diff) | |
download | FreeBSD-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/dev')
-rw-r--r-- | sys/dev/cy/cy.c | 1 | ||||
-rw-r--r-- | sys/dev/cy/cy_isa.c | 1 |
2 files changed, 2 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> |