MBCS: convert dmawritelock to mutex

MBCS: Convert the semaphore dmawritelock 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:24 -08:00
committed by Linus Torvalds
parent a40ba84957
commit 46bca69682
2 changed files with 4 additions and 4 deletions

View File

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