Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4145ed6dc597a9bea5f6ae8c574653b2de10620f Commit: 4145ed6dc597a9bea5f6ae8c574653b2de10620f Parent: a6a01369fdf7c1376421b243ae740465a527b96c Author: Alan Stern <[EMAIL PROTECTED]> AuthorDate: Mon Nov 19 10:15:02 2007 -0500 Committer: Greg Kroah-Hartman <[EMAIL PROTECTED]> CommitDate: Fri Feb 1 14:34:51 2008 -0800
USB: make ksuspend_usbd thread non-freezable This patch (as1012b) makes the ksuspend_usbd kernel thread non-freezable. Since the PM core has been changed to lock all devices during a system sleep, the thread no longer needs to be frozen. It won't interfere with a system sleep because before trying to resume a root hub device, it acquires the device's lock. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/usb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c index 8f14237..bc5edac 100644 --- a/drivers/usb/core/usb.c +++ b/drivers/usb/core/usb.c @@ -230,7 +230,7 @@ static int ksuspend_usb_init(void) * singlethreaded. Its job doesn't justify running on more * than one CPU. */ - ksuspend_usb_wq = create_freezeable_workqueue("ksuspend_usbd"); + ksuspend_usb_wq = create_singlethread_workqueue("ksuspend_usbd"); if (!ksuspend_usb_wq) return -ENOMEM; return 0; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html