diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index d7f98f637a2a..bfca26d63b13 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1205,11 +1205,6 @@ struct task_struct { | |||
1205 | unsigned int policy; | 1205 | unsigned int policy; |
1206 | cpumask_t cpus_allowed; | 1206 | cpumask_t cpus_allowed; |
1207 | 1207 | ||
1208 | #ifdef CONFIG_PREEMPT_RCU | ||
1209 | int rcu_read_lock_nesting; | ||
1210 | int rcu_flipctr_idx; | ||
1211 | #endif /* #ifdef CONFIG_PREEMPT_RCU */ | ||
1212 | |||
1213 | #ifdef CONFIG_TREE_PREEMPT_RCU | 1208 | #ifdef CONFIG_TREE_PREEMPT_RCU |
1214 | int rcu_read_lock_nesting; | 1209 | int rcu_read_lock_nesting; |
1215 | char rcu_read_unlock_special; | 1210 | char rcu_read_unlock_special; |
@@ -1744,14 +1739,6 @@ static inline void rcu_copy_process(struct task_struct *p) | |||
1744 | INIT_LIST_HEAD(&p->rcu_node_entry); | 1739 | INIT_LIST_HEAD(&p->rcu_node_entry); |
1745 | } | 1740 | } |
1746 | 1741 | ||
1747 | #elif defined(CONFIG_PREEMPT_RCU) | ||
1748 | |||
1749 | static inline void rcu_copy_process(struct task_struct *p) | ||
1750 | { | ||
1751 | p->rcu_read_lock_nesting = 0; | ||
1752 | p->rcu_flipctr_idx = 0; | ||
1753 | } | ||
1754 | |||
1755 | #else | 1742 | #else |
1756 | 1743 | ||
1757 | static inline void rcu_copy_process(struct task_struct *p) | 1744 | static inline void rcu_copy_process(struct task_struct *p) |