Re: [PATCH](s): Use spinlocks instead of STI/CLI in SoundBlaster

From: Chris Rankin (rankinc@zip.com.au)
Date: Sat Jan 27 2001 - 06:02:57 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/



This archive was generated by hypermail 2b29 : Wed Jan 31 2001 - 21:00:27 EST