diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 3fe03151a8e6..855fd0d3f174 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1163,6 +1163,8 @@ struct sched_rt_entity { | |||
1163 | #endif | 1163 | #endif |
1164 | }; | 1164 | }; |
1165 | 1165 | ||
1166 | struct rcu_node; | ||
1167 | |||
1166 | struct task_struct { | 1168 | struct task_struct { |
1167 | volatile long state; /* -1 unrunnable, 0 runnable, >0 stopped */ | 1169 | volatile long state; /* -1 unrunnable, 0 runnable, >0 stopped */ |
1168 | void *stack; | 1170 | void *stack; |
@@ -1208,7 +1210,7 @@ struct task_struct { | |||
1208 | #ifdef CONFIG_TREE_PREEMPT_RCU | 1210 | #ifdef CONFIG_TREE_PREEMPT_RCU |
1209 | int rcu_read_lock_nesting; | 1211 | int rcu_read_lock_nesting; |
1210 | char rcu_read_unlock_special; | 1212 | char rcu_read_unlock_special; |
1211 | void *rcu_blocked_node; | 1213 | struct rcu_node *rcu_blocked_node; |
1212 | struct list_head rcu_node_entry; | 1214 | struct list_head rcu_node_entry; |
1213 | #endif /* #ifdef CONFIG_TREE_PREEMPT_RCU */ | 1215 | #endif /* #ifdef CONFIG_TREE_PREEMPT_RCU */ |
1214 | 1216 | ||