This is a more correct fix for the way the ohci hcd was referencing
pt_regs in the unlink paths.

Signed-off-by: David Brownell <[EMAIL PROTECTED]>

--- linux-2.6.orig/drivers/usb/host/ohci-q.c    2006-10-05 20:04:49.000000000 
-0700
+++ linux-2.6/drivers/usb/host/ohci-q.c 2006-10-05 20:37:38.000000000 -0700
@@ -925,7 +925,7 @@ rescan_all:
                /* only take off EDs that the HC isn't using, accounting for
                 * frame counter wraps and EDs with partially retired TDs
                 */
-               if (likely (get_irq_regs() && 
HC_IS_RUNNING(ohci_to_hcd(ohci)->state))) {
+               if (likely (HC_IS_RUNNING(ohci_to_hcd(ohci)->state))) {
                        if (tick_before (tick, ed->tick)) {
 skip_ed:
                                last = &ed->ed_next;

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to