diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index f2044e707004..72e1b8ecfbe1 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -974,6 +974,11 @@ struct task_struct { | |||
974 | int nr_cpus_allowed; | 974 | int nr_cpus_allowed; |
975 | unsigned int time_slice; | 975 | unsigned int time_slice; |
976 | 976 | ||
977 | #ifdef CONFIG_PREEMPT_RCU | ||
978 | int rcu_read_lock_nesting; | ||
979 | int rcu_flipctr_idx; | ||
980 | #endif /* #ifdef CONFIG_PREEMPT_RCU */ | ||
981 | |||
977 | #if defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) | 982 | #if defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) |
978 | struct sched_info sched_info; | 983 | struct sched_info sched_info; |
979 | #endif | 984 | #endif |