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: David S. Miller <davem@davemloft.net> |
||
|---|---|---|
| .. | ||
| ircomm_core.c | ||
| ircomm_event.c | ||
| ircomm_lmp.c | ||
| ircomm_param.c | ||
| ircomm_ttp.c | ||
| ircomm_tty.c | ||
| ircomm_tty_attach.c | ||
| ircomm_tty_ioctl.c | ||
| Kconfig | ||
| Makefile | ||