diff options
Diffstat (limited to 'kernel/rcuclassic.c')
| -rw-r--r-- | kernel/rcuclassic.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/rcuclassic.c b/kernel/rcuclassic.c index 16eeeaa9d618..aad93cdc9f68 100644 --- a/kernel/rcuclassic.c +++ b/kernel/rcuclassic.c  | |||
| @@ -91,8 +91,8 @@ static void force_quiescent_state(struct rcu_data *rdp, | |||
| 91 | * rdp->cpu is the current cpu. | 91 | * rdp->cpu is the current cpu. | 
| 92 | * | 92 | * | 
| 93 | * cpu_online_map is updated by the _cpu_down() | 93 | * cpu_online_map is updated by the _cpu_down() | 
| 94 | * using stop_machine_run(). Since we're in irqs disabled | 94 | * using __stop_machine(). Since we're in irqs disabled | 
| 95 | * section, stop_machine_run() is not exectuting, hence | 95 | * section, __stop_machine() is not exectuting, hence | 
| 96 | * the cpu_online_map is stable. | 96 | * the cpu_online_map is stable. | 
| 97 | * | 97 | * | 
| 98 | * However, a cpu might have been offlined _just_ before | 98 | * However, a cpu might have been offlined _just_ before | 
| @@ -106,7 +106,7 @@ static void force_quiescent_state(struct rcu_data *rdp, | |||
| 106 | */ | 106 | */ | 
| 107 | cpus_and(cpumask, rcp->cpumask, cpu_online_map); | 107 | cpus_and(cpumask, rcp->cpumask, cpu_online_map); | 
| 108 | cpu_clear(rdp->cpu, cpumask); | 108 | cpu_clear(rdp->cpu, cpumask); | 
| 109 | for_each_cpu_mask(cpu, cpumask) | 109 | for_each_cpu_mask_nr(cpu, cpumask) | 
| 110 | smp_send_reschedule(cpu); | 110 | smp_send_reschedule(cpu); | 
| 111 | } | 111 | } | 
| 112 | } | 112 | } | 
