diff options
Diffstat (limited to 'kernel/rcutree_plugin.h')
| -rw-r--r-- | kernel/rcutree_plugin.h | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/rcutree_plugin.h b/kernel/rcutree_plugin.h index 1d295c789d3d..c9f0c975c003 100644 --- a/kernel/rcutree_plugin.h +++ b/kernel/rcutree_plugin.h  | |||
| @@ -167,7 +167,7 @@ static int rcu_preempted_readers(struct rcu_node *rnp) | |||
| 167 | * irqs disabled, and this lock is released upon return, but irqs remain | 167 | * irqs disabled, and this lock is released upon return, but irqs remain | 
| 168 | * disabled. | 168 | * disabled. | 
| 169 | */ | 169 | */ | 
| 170 | static void task_quiet(struct rcu_node *rnp, unsigned long flags) | 170 | static void rcu_report_unblock_qs_rnp(struct rcu_node *rnp, unsigned long flags) | 
| 171 | __releases(rnp->lock) | 171 | __releases(rnp->lock) | 
| 172 | { | 172 | { | 
| 173 | unsigned long mask; | 173 | unsigned long mask; | 
| @@ -185,7 +185,7 @@ static void task_quiet(struct rcu_node *rnp, unsigned long flags) | |||
| 185 | * or tasks were kicked up to root rcu_node due to | 185 | * or tasks were kicked up to root rcu_node due to | 
| 186 | * CPUs going offline. | 186 | * CPUs going offline. | 
| 187 | */ | 187 | */ | 
| 188 | cpu_quiet_msk_finish(&rcu_preempt_state, flags); | 188 | rcu_report_qs_rsp(&rcu_preempt_state, flags); | 
| 189 | return; | 189 | return; | 
| 190 | } | 190 | } | 
| 191 | 191 | ||
| @@ -193,7 +193,7 @@ static void task_quiet(struct rcu_node *rnp, unsigned long flags) | |||
| 193 | mask = rnp->grpmask; | 193 | mask = rnp->grpmask; | 
| 194 | spin_unlock(&rnp->lock); /* irqs remain disabled. */ | 194 | spin_unlock(&rnp->lock); /* irqs remain disabled. */ | 
| 195 | spin_lock(&rnp_p->lock); /* irqs already disabled. */ | 195 | spin_lock(&rnp_p->lock); /* irqs already disabled. */ | 
| 196 | cpu_quiet_msk(mask, &rcu_preempt_state, rnp_p, flags); | 196 | rcu_report_qs_rnp(mask, &rcu_preempt_state, rnp_p, flags); | 
| 197 | } | 197 | } | 
| 198 | 198 | ||
| 199 | /* | 199 | /* | 
| @@ -253,12 +253,12 @@ static void rcu_read_unlock_special(struct task_struct *t) | |||
| 253 | /* | 253 | /* | 
| 254 | * If this was the last task on the current list, and if | 254 | * If this was the last task on the current list, and if | 
| 255 | * we aren't waiting on any CPUs, report the quiescent state. | 255 | * we aren't waiting on any CPUs, report the quiescent state. | 
| 256 | * Note that task_quiet() releases rnp->lock. | 256 | * Note that rcu_report_unblock_qs_rnp() releases rnp->lock. | 
| 257 | */ | 257 | */ | 
| 258 | if (empty) | 258 | if (empty) | 
| 259 | spin_unlock_irqrestore(&rnp->lock, flags); | 259 | spin_unlock_irqrestore(&rnp->lock, flags); | 
| 260 | else | 260 | else | 
| 261 | task_quiet(rnp, flags); | 261 | rcu_report_unblock_qs_rnp(rnp, flags); | 
| 262 | } else { | 262 | } else { | 
| 263 | local_irq_restore(flags); | 263 | local_irq_restore(flags); | 
| 264 | } | 264 | } | 
| @@ -566,7 +566,7 @@ static int rcu_preempted_readers(struct rcu_node *rnp) | |||
| 566 | #ifdef CONFIG_HOTPLUG_CPU | 566 | #ifdef CONFIG_HOTPLUG_CPU | 
| 567 | 567 | ||
| 568 | /* Because preemptible RCU does not exist, no quieting of tasks. */ | 568 | /* Because preemptible RCU does not exist, no quieting of tasks. */ | 
| 569 | static void task_quiet(struct rcu_node *rnp, unsigned long flags) | 569 | static void rcu_report_unblock_qs_rnp(struct rcu_node *rnp, unsigned long flags) | 
| 570 | { | 570 | { | 
| 571 | spin_unlock_irqrestore(&rnp->lock, flags); | 571 | spin_unlock_irqrestore(&rnp->lock, flags); | 
| 572 | } | 572 | } | 
