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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index bfca26d63b13..3fe03151a8e6 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1208,7 +1208,7 @@ struct task_struct {
1208#ifdef CONFIG_TREE_PREEMPT_RCU 1208#ifdef CONFIG_TREE_PREEMPT_RCU
1209 int rcu_read_lock_nesting; 1209 int rcu_read_lock_nesting;
1210 char rcu_read_unlock_special; 1210 char rcu_read_unlock_special;
1211 int rcu_blocked_cpu; 1211 void *rcu_blocked_node;
1212 struct list_head rcu_node_entry; 1212 struct list_head rcu_node_entry;
1213#endif /* #ifdef CONFIG_TREE_PREEMPT_RCU */ 1213#endif /* #ifdef CONFIG_TREE_PREEMPT_RCU */
1214 1214
@@ -1735,7 +1735,7 @@ static inline void rcu_copy_process(struct task_struct *p)
1735{ 1735{
1736 p->rcu_read_lock_nesting = 0; 1736 p->rcu_read_lock_nesting = 0;
1737 p->rcu_read_unlock_special = 0; 1737 p->rcu_read_unlock_special = 0;
1738 p->rcu_blocked_cpu = -1; 1738 p->rcu_blocked_node = NULL;
1739 INIT_LIST_HEAD(&p->rcu_node_entry); 1739 INIT_LIST_HEAD(&p->rcu_node_entry);
1740} 1740}
1741 1741