diff options
| author | David Fries <[email protected]> | 2008-10-15 22:04:40 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-10-16 11:21:49 -0700 |
| commit | 01e14d6db9654be005a0a5384090aea2cde39976 (patch) | |
| tree | 9db896b843f763a17d97105fbcef597367d50395 /tools/perf/scripts/python | |
| parent | 0d671b272af9eb06260ab3fd210d454e98dd4216 (diff) | |
W1: don't delay search start
Move the creation of the w1_process thread to after the device has been
initialized. This way w1_process doesn't have to check to see if it has
been initialized and the bus search can proceed without sleeping. That
also eliminates two checks in the w1_process loop. The sleep now happens
at the end of the loop not the beginning.
Also added a comment for why the atomic_set was 2.
Signed-off-by: David Fries <[email protected]>
Signed-off-by: Evgeniy Polyakov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions