summaryrefslogtreecommitdiffstats
path: root/sys/pci/agp_nvidia.c
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2004-05-22 13:06:38 +0000
committermux <mux@FreeBSD.org>2004-05-22 13:06:38 +0000
commitfa099ba5b071e63bd2d1e78cd1427aa99c28c707 (patch)
tree9d08771c4158406ba8d37b340dcb684e716133a3 /sys/pci/agp_nvidia.c
parentce5e2c9dde72f7d687d6d56da86bbcdb5c202901 (diff)
downloadFreeBSD-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_nvidia.c')
-rw-r--r--sys/pci/agp_nvidia.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/pci/agp_nvidia.c b/sys/pci/agp_nvidia.c
index cc6ac2c..a2d1e95 100644
--- a/sys/pci/agp_nvidia.c
+++ b/sys/pci/agp_nvidia.c
@@ -45,7 +45,6 @@
#endif
#if __FreeBSD_version > 500000
-#include <sys/lockmgr.h>
#include <sys/mutex.h>
#include <sys/proc.h>
#endif
OpenPOWER on IntegriCloud