mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Walker <dwalker@mvista.com>
To: Andrew Burgess <aab@cichlid.com>
Cc: linux-kernel@vger.kernel.org, mingo@elte.hu
Subject: Re: BUG: Real-Time Preemption 2.6.13-rc5-RT-V0.7.52-16
Date: Tue, 09 Aug 2005 17:26:28 -0700	[thread overview]
Message-ID: <1123633588.13135.27.camel@dhcp153.mvista.com> (raw)
In-Reply-To: <200508092158.j79LwlmM010246@cichlid.com>


This may fix the warning , but I doubt it does anything for any hangs..

--- linux-2.6.12.orig/drivers/usb/core/hcd.c    2005-08-09 22:41:18.000000000 +0000
+++ linux-2.6.12/drivers/usb/core/hcd.c 2005-08-10 00:23:16.000000000 +0000
@@ -540,8 +540,7 @@ void usb_hcd_poll_rh_status(struct usb_h
        if (length > 0) {

                /* try to complete the status urb */
-               local_irq_save (flags);
-               spin_lock(&hcd_root_hub_lock);
+               spin_lock_irqsave(&hcd_root_hub_lock, flags);
                urb = hcd->status_urb;
                if (urb) {
                        spin_lock(&urb->lock);







  reply	other threads:[~2005-08-10  0:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-09 21:58 Andrew Burgess
2005-08-10  0:26 ` Daniel Walker [this message]
2005-08-10 11:52   ` Ingo Molnar
2005-08-10 14:54     ` Daniel Walker
2005-08-10 15:21     ` Daniel Walker

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=1123633588.13135.27.camel@dhcp153.mvista.com \
    --to=dwalker@mvista.com \
    --cc=aab@cichlid.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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®