summaryrefslogtreecommitdiff
path: root/src/library.h
AgeCommit message (Collapse)AuthorFilesLines
2006-11-13Initial import15.6-2Tobias Klauser1-0/+53
89f68a9fb12a5e72e8a7a'>patch) treeab60a16d9c19efc26e5a9253bcf96703cd1b65b7 parentbc29b7ac1d9f09f5024b0e257e91bf5df611ccd4 (diff)
s390/cio: convert cfg_lock mutex to spinlock
cfg_lock is never held long and we don't want to sleep while the lock is being held. Thus it can be converted to a simple spinlock. In addition we can now use the lock during the evaluation of a wake_up condition. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat