MIPS: Netlogic: Move from u32 cpumask to cpumask_t
Initial code to support more than 32 cpus. The platform CPU mask is updated from 32-bit mask to cpumask_t. Convert places that use cpu_/cpus_ functions to use cpumask_* functions. Signed-off-by: Jayachandran C <jchandra@broadcom.com> Patchwork: http://patchwork.linux-mips.org/patch/4464 Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:

committed by
John Crispin

parent
7143246e9a
commit
2a37b1ae44
@@ -59,7 +59,7 @@ int __cpuinit xlr_wakeup_secondary_cpus(void)
|
||||
boot_cpu = hard_smp_processor_id();
|
||||
nlm_set_nmi_handler(nlm_rmiboot_preboot);
|
||||
for (i = 0; i < NR_CPUS; i++) {
|
||||
if (i == boot_cpu || (nlm_cpumask & (1u << i)) == 0)
|
||||
if (i == boot_cpu || !cpumask_test_cpu(i, &nlm_cpumask))
|
||||
continue;
|
||||
nlm_pic_send_ipi(nlm_pic_base, i, 1, 1); /* send NMI */
|
||||
}
|
||||
|
Reference in New Issue
Block a user