usb/digi_acceleport: correct wait-queue
Greg KH
AppliedQuoted 13 lines · Nishanth Aravamudan
Quoted 12 lines · Nishanth Aravamudan
Quoted 7 lines · Nishanth Aravamudan
Hello,
Description: Replace deprecated
interruptible_sleep_on_timeout()with direct wait-queue usage. Also replace some rather odd wait-queue usage with the existent macros. Also adjusted thewake_up_interruptible()call appropriately, as I changed all the states toTASK_UNINTERRUPTIBLE(signals were not be checked in the current code). Patch is compile-tested.Patch was broken in various ways. Fixed-up below (ends up being fewer changes). Please drop previous patch and apply the attached.
Quoted 8 lines
Quoted 2 lines
Description: Replace deprecated
interruptible_sleep_on_timeout()with direct wait-queue usage. Patch is compile-tested.Original patch was merged into 2.6.11-rc2. Incremental patch for 2.6.11-rc2 attached.
Description: First patch incorrectly changed state of the wait-queue usage to
TASK_UNINTERRUPTIBLE. Reverted toTASK_INTERRUPTIBLE.
Applied, thanks.
greg k-h
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors