diff options
author | Matthias Kaehlcke <matthias.kaehlcke@gmail.com> | 2008-02-07 03:15:24 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 11:42:25 -0500 |
commit | a40ba8495798fa7eae6fa12b16a0d06d906ba47f (patch) | |
tree | f741ef886c3cafcea261c184ce7776df098df8e4 /drivers/char/mbcs.h | |
parent | 92df5c3e38c0a0a66a456926039548275dfb3328 (diff) |
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 { | |||
539 | atomic_t algo_done; | 539 | atomic_t algo_done; |
540 | struct semaphore dmawritelock; | 540 | struct semaphore dmawritelock; |
541 | struct semaphore dmareadlock; | 541 | struct semaphore dmareadlock; |
542 | struct semaphore algolock; | 542 | struct mutex algolock; |
543 | }; | 543 | }; |
544 | 544 | ||
545 | static int mbcs_open(struct inode *ip, struct file *fp); | 545 | static int mbcs_open(struct inode *ip, struct file *fp); |