[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>
This commit is contained in:

committed by
Linus Torvalds

parent
6389a38511
commit
f82945dff5
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user