Preempt-RCU: implementation
[linux-2.6.git] / include / linux / sched.h
index f2044e7..72e1b8e 100644 (file)
@@ -974,6 +974,11 @@ struct task_struct {
        int nr_cpus_allowed;
        unsigned int time_slice;
 
+#ifdef CONFIG_PREEMPT_RCU
+       int rcu_read_lock_nesting;
+       int rcu_flipctr_idx;
+#endif /* #ifdef CONFIG_PREEMPT_RCU */
+
 #if defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT)
        struct sched_info sched_info;
 #endif