X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fsound%2Fgus.h;fp=include%2Fsound%2Fgus.h;h=63da50fae7733e025206cb4968045f970e75df44;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=68a664ab97f391e18eb55922952c31993cf51ecc;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/include/sound/gus.h b/include/sound/gus.h index 68a664ab9..63da50fae 100644 --- a/include/sound/gus.h +++ b/include/sound/gus.h @@ -209,7 +209,7 @@ struct snd_gf1_mem { struct snd_gf1_bank_info banks_16[4]; struct snd_gf1_mem_block *first; struct snd_gf1_mem_block *last; - struct mutex memory_mutex; + struct semaphore memory_mutex; }; struct snd_gf1_dma_block { @@ -467,8 +467,8 @@ struct snd_gus_card { spinlock_t dma_lock; spinlock_t pcm_volume_level_lock; spinlock_t uart_cmd_lock; - struct mutex dma_mutex; - struct mutex register_mutex; + struct semaphore dma_mutex; + struct semaphore register_mutex; }; /* I/O functions for GF1/InterWave chip - gus_io.c */