MBCS: convert algolock to mutex

MBCS: Convert the semaphore algolock 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 92df5c3e38
commit a40ba84957
2 changed files with 5 additions and 4 deletions

View File

@@ -539,7 +539,7 @@ struct mbcs_soft {
atomic_t algo_done;
struct semaphore dmawritelock;
struct semaphore dmareadlock;
struct semaphore algolock;
struct mutex algolock;
};
static int mbcs_open(struct inode *ip, struct file *fp);