mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
3ccf25ce18
commit
521b600b58
1 changed files with 1 additions and 1 deletions
|
|
@ -1001,7 +1001,7 @@ static int usbatm_do_heavy_init(void *arg)
|
|||
|
||||
daemonize(instance->driver->driver_name);
|
||||
allow_signal(SIGTERM);
|
||||
instance->thread_pid = get_current()->pid;
|
||||
instance->thread_pid = current->pid;
|
||||
|
||||
complete(&instance->thread_started);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue