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:
committed by
Linus Torvalds
parent
92df5c3e38
commit
a40ba84957
@@ -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);
|
||||
|
Reference in New Issue
Block a user