aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index ad7a89014d29..8ebddba4448d 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -886,6 +886,13 @@ struct task_struct {
886 int hardirq_context; 886 int hardirq_context;
887 int softirq_context; 887 int softirq_context;
888#endif 888#endif
889#ifdef CONFIG_LOCKDEP
890# define MAX_LOCK_DEPTH 30UL
891 u64 curr_chain_key;
892 int lockdep_depth;
893 struct held_lock held_locks[MAX_LOCK_DEPTH];
894 unsigned int lockdep_recursion;
895#endif
889 896
890/* journalling filesystem info */ 897/* journalling filesystem info */
891 void *journal_info; 898 void *journal_info;