aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcuclassic.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcuclassic.c')
-rw-r--r--kernel/rcuclassic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/rcuclassic.c b/kernel/rcuclassic.c
index d3553ee55f64..d4271146a9bd 100644
--- a/kernel/rcuclassic.c
+++ b/kernel/rcuclassic.c
@@ -93,8 +93,8 @@ static void force_quiescent_state(struct rcu_data *rdp,
93 * rdp->cpu is the current cpu. 93 * rdp->cpu is the current cpu.
94 * 94 *
95 * cpu_online_map is updated by the _cpu_down() 95 * cpu_online_map is updated by the _cpu_down()
96 * using stop_machine_run(). Since we're in irqs disabled 96 * using __stop_machine(). Since we're in irqs disabled
97 * section, stop_machine_run() is not exectuting, hence 97 * section, __stop_machine() is not exectuting, hence
98 * the cpu_online_map is stable. 98 * the cpu_online_map is stable.
99 * 99 *
100 * However, a cpu might have been offlined _just_ before 100 * However, a cpu might have been offlined _just_ before
@@ -108,7 +108,7 @@ static void force_quiescent_state(struct rcu_data *rdp,
108 */ 108 */
109 cpus_and(cpumask, rcp->cpumask, cpu_online_map); 109 cpus_and(cpumask, rcp->cpumask, cpu_online_map);
110 cpu_clear(rdp->cpu, cpumask); 110 cpu_clear(rdp->cpu, cpumask);
111 for_each_cpu_mask(cpu, cpumask) 111 for_each_cpu_mask_nr(cpu, cpumask)
112 smp_send_reschedule(cpu); 112 smp_send_reschedule(cpu);
113 } 113 }
114} 114}