Fabian Frederick 50462ce005 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 <peterz@infradead.org>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-02-22 15:24:10 -05:00
..
2014-05-13 17:43:20 -04:00
2014-11-21 14:20:17 -05:00
2013-12-06 12:37:55 -05:00
2014-03-05 20:40:24 -05:00
2014-05-13 17:43:20 -04:00
2015-02-14 20:15:45 -08:00
2015-01-25 00:09:41 -08:00