diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
commit | c7fc24dc4420057f103afe8fc64524ebc25c5d37 (patch) | |
tree | 3682407a599b8f9f03fc096298134cafba1c9b2f /drivers/sound/soundmodule.h | |
parent | 1d793fade8b063fde3cf275bf1a5c2d381292cd9 (diff) |
o Merge with Linux 2.1.116.
o New Newport console code.
o New G364 console code.
Diffstat (limited to 'drivers/sound/soundmodule.h')
-rw-r--r-- | drivers/sound/soundmodule.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/sound/soundmodule.h b/drivers/sound/soundmodule.h index dac6316bb..b89e74e51 100644 --- a/drivers/sound/soundmodule.h +++ b/drivers/sound/soundmodule.h @@ -5,23 +5,12 @@ extern struct notifier_block *sound_locker; extern void sound_notifier_chain_register(struct notifier_block *); -extern int lock_depth; #ifdef MODULE -#ifdef SOUND_CORE - -#define SOUND_INC_USE_COUNT do { notifier_call_chain(&sound_locker, 1, 0); lock_depth++; } while(0); -#define SOUND_DEC_USE_COUNT do { notifier_call_chain(&sound_locker, 0, 0); lock_depth--; } while(0); - -#else - - #define SOUND_LOCK sound_notifier_chain_register(&sound_notifier); #define SOUND_LOCK_END notifier_chain_unregister(&sound_locker, &sound_notifier) - - static int my_notifier_call(struct notifier_block *b, unsigned long foo, void *bar) { if(foo) @@ -40,4 +29,3 @@ static struct notifier_block sound_notifier= #endif #endif -#endif |