Commit: 8cc05c71ba5f ("locking/lockdep: Move sanity check to inside lockdep_print_held_locks()") added accesses to the task_struct's state member. Add dummy userspace declaration.
Showing the changes to tools/include/linux (1 of 1 file). Show all
Unified · Split
| @@ -30,9 +30,12 @@ struct task_struct { · 29 unmodified lines | |||
| 30 | struct held_lock held_locks[MAX_LOCK_DEPTH]; | 30 | struct held_lock held_locks[MAX_LOCK_DEPTH]; |
| 31 | gfp_t lockdep_reclaim_gfp; | 31 | gfp_t lockdep_reclaim_gfp; |
| 32 | int pid; | 32 | int pid; |
| 33 | int state; | ||
| 33 | char comm[17]; | 34 | char comm[17]; |
| 34 | }; | 35 | }; |
| 35 | 36 | ||
| 37 | #define TASK_RUNNING 0 | ||
| 38 | |||
| 36 | extern struct task_struct *__curr(void); | 39 | extern struct task_struct *__curr(void); |
| 37 | 40 | ||
| 38 | #define current (__curr()) | 41 | #define current (__curr()) |