MBCS: convert dmareadlock to mutex

MBCS: Convert the semaphore dmareadlock to the mutex API

Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Matthias Kaehlcke
2008-02-07 00:15:25 -08:00
committed by Linus Torvalds
parent 46bca69682
commit ae5e29798a
2 changed files with 4 additions and 4 deletions

View File

@@ -538,7 +538,7 @@ struct mbcs_soft {
atomic_t dmaread_done;
atomic_t algo_done;
struct mutex dmawritelock;
struct semaphore dmareadlock;
struct mutex dmareadlock;
struct mutex algolock;
};