aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/mbcs.h
diff options
context:
space:
mode:
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>2008-02-07 00:15:24 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-07 08:42:25 -0800
commita40ba8495798fa7eae6fa12b16a0d06d906ba47f (patch)
treef741ef886c3cafcea261c184ce7776df098df8e4 /drivers/char/mbcs.h
parent92df5c3e38c0a0a66a456926039548275dfb3328 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/mbcs.h b/drivers/char/mbcs.h
index c9905a3c335..d4d97abbce7 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);