diff options
author | Matthias Kaehlcke <matthias.kaehlcke@gmail.com> | 2008-02-07 09:15:24 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 17:42:25 +0100 |
commit | a40ba8495798fa7eae6fa12b16a0d06d906ba47f (patch) | |
tree | f741ef886c3cafcea261c184ce7776df098df8e4 /drivers/char/mbcs.h | |
parent | vmcoreinfo: fix the configuration dependencies (diff) | |
download | linux-a40ba8495798fa7eae6fa12b16a0d06d906ba47f.tar.xz linux-a40ba8495798fa7eae6fa12b16a0d06d906ba47f.zip |
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>
Diffstat (limited to 'drivers/char/mbcs.h')
-rw-r--r-- | drivers/char/mbcs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/mbcs.h b/drivers/char/mbcs.h index c9905a3c3353..d4d97abbce7f 100644 --- a/drivers/char/mbcs.h +++ b/drivers/char/mbcs.h @@ -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); |