ia64: fix up obsolete cpu function usage.
Thanks to spatch, then a sweep for for_each_cpu_mask => for_each_cpu. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: Tony Luck <tony.luck@intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: linux-ia64@vger.kernel.org
This commit is contained in:
@@ -690,7 +690,7 @@ skip_numa_setup:
|
||||
do {
|
||||
if (++cpu >= nr_cpu_ids)
|
||||
cpu = 0;
|
||||
} while (!cpu_online(cpu) || !cpu_isset(cpu, domain));
|
||||
} while (!cpu_online(cpu) || !cpumask_test_cpu(cpu, &domain));
|
||||
|
||||
return cpu_physical_id(cpu);
|
||||
#else /* CONFIG_SMP */
|
||||
|
Reference in New Issue
Block a user