diff options
| author | Fabian Frederick <[email protected]> | 2015-02-20 19:12:57 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-03-07 03:08:42 +0100 |
| commit | 97f9f707d26dfe34368a5b88f1996f2eaf973b42 (patch) | |
| tree | 366b6e1778ad0489755a74289e1622f6145f9dff /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 5dcb34bbc3f3274b37a71a71f1b60ac96782a5ed (diff) | |
serial: core: replace current->state by __set_current_state()
Use helper functions to access current->state.
Direct assignments are prone to races and therefore buggy.
Thanks to Peter Zijlstra for the exact definition of the problem.
Suggested-By: Peter Zijlstra <[email protected]>
Signed-off-by: Fabian Frederick <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions