USB: make ksuspend_usbd thread non-freezable
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 19 Nov 2007 15:15:02 +0000 (10:15 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:34:51 +0000 (14:34 -0800)
commit4145ed6dc597a9bea5f6ae8c574653b2de10620f
treed50872c7e72f022002f5e1067ada5f270329213f
parenta6a01369fdf7c1376421b243ae740465a527b96c
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 <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/usb.c