diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-02-11 07:26:09 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-25 00:16:34 -0400 |
commit | c4504a7eb9c4c491e6f31b28169dd49e9bacc8ec (patch) | |
tree | 16d5ac6e382cadc648c17c865444442d0f88dd52 /drivers/usb/atm/usbatm.h | |
parent | 1409e8e0e4dae15735727d7e2814b62aff609d31 (diff) |
USB: usbatm: convert heavy init dances to kthread API
This is an attempt to kill two birds with one stone.
First, we kill one more user of kernel_thread, which is scheduled
for removal. Second - we kill one of the last users of kill_proc -
the function which is also to be removed, because it uses a pid_t
which is not safe now.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/atm/usbatm.h')
-rw-r--r-- | drivers/usb/atm/usbatm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/atm/usbatm.h b/drivers/usb/atm/usbatm.h index fc6c2be5999c..e6887c6cf3cf 100644 --- a/drivers/usb/atm/usbatm.h +++ b/drivers/usb/atm/usbatm.h | |||
@@ -175,7 +175,7 @@ struct usbatm_data { | |||
175 | int disconnected; | 175 | int disconnected; |
176 | 176 | ||
177 | /* heavy init */ | 177 | /* heavy init */ |
178 | int thread_pid; | 178 | struct task_struct *thread; |
179 | struct completion thread_started; | 179 | struct completion thread_started; |
180 | struct completion thread_exited; | 180 | struct completion thread_exited; |
181 | 181 | ||