diff options
author | mux <mux@FreeBSD.org> | 2004-05-22 13:06:38 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2004-05-22 13:06:38 +0000 |
commit | fa099ba5b071e63bd2d1e78cd1427aa99c28c707 (patch) | |
tree | 9d08771c4158406ba8d37b340dcb684e716133a3 /sys/pci/agp_amd.c | |
parent | ce5e2c9dde72f7d687d6d56da86bbcdb5c202901 (diff) | |
download | FreeBSD-src-fa099ba5b071e63bd2d1e78cd1427aa99c28c707.zip FreeBSD-src-fa099ba5b071e63bd2d1e78cd1427aa99c28c707.tar.gz |
Get rid of a lockmgr consumer by making agp(4) use a standard mutex,
since it's always acquiring the lock exclusively. This was tested
with X on an SMP box, with and without WITNESS.
Diffstat (limited to 'sys/pci/agp_amd.c')
-rw-r--r-- | sys/pci/agp_amd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/pci/agp_amd.c b/sys/pci/agp_amd.c index 2b6072a..a20b59b 100644 --- a/sys/pci/agp_amd.c +++ b/sys/pci/agp_amd.c @@ -35,7 +35,6 @@ __FBSDID("$FreeBSD$"); #include <sys/kernel.h> #include <sys/bus.h> #include <sys/lock.h> -#include <sys/lockmgr.h> #include <sys/mutex.h> #include <sys/proc.h> |