diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-02-20 15:12:54 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-03-03 11:15:42 -0300 |
commit | f35593fdc8851aa28f6949bd48fe90653d383017 (patch) | |
tree | 3a531488b29fbd73f4527528633892f81a8013ef /drivers/media/dvb-frontends/ec100.h | |
parent | 809abdbf46377abe39a72884d026979bb1dbd6d3 (diff) |
[media] saa7146: replace current->state by set_current_state()
Use helper functions to access current->state.
Direct assignments are prone to races and therefore buggy.
current->state = TASK_RUNNING can be replaced by __set_current_state()
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: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/ec100.h')
0 files changed, 0 insertions, 0 deletions