patch-2.1.102 linux/drivers/sound/soundmodule.h
Next file: linux/drivers/sound/sscape.c
Previous file: linux/drivers/sound/soundcard.c
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Thu May 14 10:33:17 1998
- Orig file:
v2.1.101/linux/drivers/sound/soundmodule.h
- Orig date:
Sun Jan 4 10:45:55 1998
diff -u --recursive --new-file v2.1.101/linux/drivers/sound/soundmodule.h linux/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)
@@ -38,6 +27,5 @@
0
};
-#endif
#endif
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov