|
@@ -359,10 +359,12 @@ void native_flush_tlb_others(const cpumask_t *cpumaskp, struct mm_struct *mm,
|
|
|
BUG_ON(cpu_isset(smp_processor_id(), cpumask));
|
|
|
BUG_ON(!mm);
|
|
|
|
|
|
+#ifdef CONFIG_HOTPLUG_CPU
|
|
|
/* If a CPU which we ran on has gone down, OK. */
|
|
|
cpus_and(cpumask, cpumask, cpu_online_map);
|
|
|
- if (cpus_empty(cpumask))
|
|
|
+ if (unlikely(cpus_empty(cpumask)))
|
|
|
return;
|
|
|
+#endif
|
|
|
|
|
|
/*
|
|
|
* i'm not happy about this global shared spinlock in the
|