diff options
| author | Fabian Frederick <[email protected]> | 2015-02-20 19:12:55 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-02-22 15:24:10 -0500 |
| commit | 50462ce0052c67b5a06f19fb7c7f308813006879 (patch) | |
| tree | fa0ee3b4d3d46d5c4b21f8b215b8a6af0005ff8d /lib/mpi/mpi-internal.h | |
| parent | 45cee4f594bcb3083c2d8475462af2f2ddf29aff (diff) | |
hso: 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: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions