[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/dev/pci
Module Name: src
Committed By: pgoyette
Date: Sun Mar 11 22:46:22 UTC 2012
Since there are no RW_READERs for the device's rw_lock, convert it to a
mutex and reduce the overhead.
Also, even if we're polling, we need to use the lock to control access to
the bus, otherwise we get anomolous results.
(These same changes were made several weeks ago to other drivers; I
missed this one.)
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/pci/alipm.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |