diff options
author | Andrew Morton <akpm@osdl.org> | 2006-10-10 17:42:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-10-17 17:46:33 -0400 |
commit | 521b600b58376b7c85a7c615ee32fae185c20b16 (patch) | |
tree | f3b0965bdd5077db50daa7bdb9dd3b1031b13635 /drivers/usb/atm | |
parent | 3ccf25ce185d4798e66a91812a7622f7fe6987df (diff) |
USB: fix usbatm tiny race
ia64:
drivers/usb/atm/usbatm.c: In function `usbatm_do_heavy_init':
drivers/usb/atm/usbatm.c:1004: warning: implicit declaration of function `get_current'
drivers/usb/atm/usbatm.c:1004: error: invalid type argument of `->'
Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/atm')
-rw-r--r-- | drivers/usb/atm/usbatm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c index ab091fa4c86b..ec63b0ee0743 100644 --- a/drivers/usb/atm/usbatm.c +++ b/drivers/usb/atm/usbatm.c | |||
@@ -1001,7 +1001,7 @@ static int usbatm_do_heavy_init(void *arg) | |||
1001 | 1001 | ||
1002 | daemonize(instance->driver->driver_name); | 1002 | daemonize(instance->driver->driver_name); |
1003 | allow_signal(SIGTERM); | 1003 | allow_signal(SIGTERM); |
1004 | instance->thread_pid = get_current()->pid; | 1004 | instance->thread_pid = current->pid; |
1005 | 1005 | ||
1006 | complete(&instance->thread_started); | 1006 | complete(&instance->thread_started); |
1007 | 1007 | ||