aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcuclassic.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-08-11 07:27:47 -0400
committerIngo Molnar <mingo@elte.hu>2008-08-11 07:27:47 -0400
commitc4c0c56a7a85ed5725786219e4fbca7e840b1531 (patch)
treec9d6b35a571fd5e80ddf5bf4a60142480eaa18d8 /kernel/rcuclassic.c
parent5127bed588a2f8f3a1f732de2a8a190b7df5dce3 (diff)
parent796aadeb1b2db9b5d463946766c5bbfd7717158c (diff)
Merge branch 'linus' into core/rcu
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}