mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Rankin <rankinc@zip.com.au>
To: pavel@suse.cz (Pavel Machek)
Cc: linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org
Subject: Re: [PATCH](s): Use spinlocks instead of STI/CLI in SoundBlaster
Date: Sat, 27 Jan 2001 22:02:57 +1100 (EST)	[thread overview]
Message-ID: <200101271102.f0RB2we19159@wellhouse.underworld> (raw)
In-Reply-To: <20010127112629.B163@bug.ucw.cz> from "Pavel Machek" at Jan 27, 2001 11:26:29 AM

> > --- 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/

  reply	other threads:[~2001-01-27 11:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-26  6:42 Chris Rankin
2001-01-27 10:26 ` Pavel Machek
2001-01-27 11:02   ` Chris Rankin [this message]
     [not found] <3A712AA4.13B912AD@uow.edu.au>
2001-01-26 10:25 ` Chris Rankin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200101271102.f0RB2we19159@wellhouse.underworld \
    --to=rankinc@zip.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=pavel@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®