Re: [PATCH](s): Use spinlocks instead of STI/CLI in SoundBlaster
Chris Rankin (rankinc@zip.com.au)
Sat, 27 Jan 2001 22:02:57 +1100 (EST)
> > --- linux-2.4.0/drivers/sound/sb.h.orig Fri Jan 26 13:57:40 2001
> > +++ linux-2.4.0/drivers/sound/sb.h Fri Jan 26 13:58:42 2001
> > @@ -137,6 +137,8 @@
> > void (*midi_input_intr) (int dev, unsigned char data);
> > void *midi_irq_cookie; /* IRQ cookie for the midi */
> >
> > + spinlock_t lock;
> > +
I do; that declaration is just a typedef for the device struct. The
spinlock is explicitly initialised in the sb_dsp_detect() function.
Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/