diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-03-23 03:00:47 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-23 07:38:15 -0800 |
commit | f82945dff51ff7b33f69cb45a8342b936e966f7f (patch) | |
tree | d550c4b48fd13574147d09b49b1706fcf3644dc3 /sound/oss/emu10k1/main.c | |
parent | 6389a385114ae358693f213266de6468ea116c77 (diff) | |
download | talos-op-linux-f82945dff51ff7b33f69cb45a8342b936e966f7f.tar.gz talos-op-linux-f82945dff51ff7b33f69cb45a8342b936e966f7f.zip |
[PATCH] oss: semaphore to mutex conversion
Semaphore to mutex conversion.
The conversion was generated via scripts, and the result was validated
automatically via a script as well.
Extracted for OSS/Free changes from Ingo's original patches.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/oss/emu10k1/main.c')
-rw-r--r-- | sound/oss/emu10k1/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/emu10k1/main.c b/sound/oss/emu10k1/main.c index 23241cbdd90f..0cd44a6f7ac0 100644 --- a/sound/oss/emu10k1/main.c +++ b/sound/oss/emu10k1/main.c @@ -1320,7 +1320,7 @@ static int __devinit emu10k1_probe(struct pci_dev *pci_dev, const struct pci_dev card->is_aps = (subsysvid == EMU_APS_SUBID); spin_lock_init(&card->lock); - init_MUTEX(&card->open_sem); + mutex_init(&card->open_sem); card->open_mode = 0; init_waitqueue_head(&card->open_wait); |