Remove yet another few p->state accesses.
Showing the changes to include (1 of 4 files). Show all
Unified · Split
| @@ -213,6 +213,8 @@ struct task_group; · 212 unmodified lines | |||
| 213 | 213 | ||
| 214 | #endif | 214 | #endif |
| 215 | 215 | ||
| 216 | #define get_current_state() READ_ONCE(current->state) | ||
| 217 | |||
| 216 | /* Task command name length: */ | 218 | /* Task command name length: */ |
| 217 | #define TASK_COMM_LEN 16 | 219 | #define TASK_COMM_LEN 16 |
| 218 | 220 | ||