summaryrefslogtreecommitdiffstats
path: root/drivers/char/mbcs.h
diff options
context:
space:
mode:
authorMatthias Kaehlcke2008-02-07 09:15:24 +0100
committerLinus Torvalds2008-02-07 17:42:25 +0100
commit46bca69682731104b42f99da763b9a08a0574291 (patch)
tree46871c6415ff483e23b5a497ec4761c70c3556af /drivers/char/mbcs.h
parentMBCS: convert algolock to mutex (diff)
downloadkernel-qcow2-linux-46bca69682731104b42f99da763b9a08a0574291.tar.gz
kernel-qcow2-linux-46bca69682731104b42f99da763b9a08a0574291.tar.xz
kernel-qcow2-linux-46bca69682731104b42f99da763b9a08a0574291.zip
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>
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 d4d97abbce7f..b05435145d72 100644
--- a/drivers/char/mbcs.h
+++ b/drivers/char/mbcs.h
@@ -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;
};