[PATCH] Re: removing sleep_on in hub.c
authorJohannes Erdfelt <johannes@erdfelt.com>
Wed, 10 Apr 2002 03:41:13 +0000 (20:41 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 10 Apr 2002 03:41:13 +0000 (20:41 -0700)
commitc9bd7cbbcbcec764d928ffd883a92bd0e323fad4
tree6407184ed311664e9a6f06a02cc2719b354f330d
parent4daab11792c1114f86dee77b8a21eb1b7352e0e2
[PATCH] Re: removing sleep_on in hub.c

On Mon, Apr 08, 2002, Oliver Neukum <oliver@neukum.org> wrote:
> using sleep_on is a race. The attached patch replaces it with the
> new wait_event macro from sched.h. The patch is against the 2.5
> from Greg.

Greg, I've tested this against 2.4.19-pre6 as well and the attached
patch is relative to that.

Please apply.

Thank Oliver!
drivers/usb/core/hub.c