Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39809
b: refs/heads/master
c: ccf40d6
h: refs/heads/master
i:
  39807: b89952b
v: v3
  • Loading branch information
Duncan Sands authored and Greg Kroah-Hartman committed Oct 17, 2006
1 parent 47c5ebe commit f838aa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e4a20daa7b44ab9805979eb716f6bb7532bc67b9
refs/heads/master: ccf40d62c70128990cf2e8775853cc3287cd7ce3
5 changes: 1 addition & 4 deletions trunk/drivers/usb/atm/usbatm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,7 @@ static int usbatm_do_heavy_init(void *arg)

daemonize(instance->driver->driver_name);
allow_signal(SIGTERM);
instance->thread_pid = get_current()->pid;

complete(&instance->thread_started);

Expand All @@ -1025,10 +1026,6 @@ static int usbatm_heavy_init(struct usbatm_data *instance)
return ret;
}

mutex_lock(&instance->serialize);
instance->thread_pid = ret;
mutex_unlock(&instance->serialize);

wait_for_completion(&instance->thread_started);

return 0;
Expand Down

0 comments on commit f838aa0

Please sign in to comment.