Lines Matching defs:ncpus
1764 static void __init cpuhp_bringup_mask(const struct cpumask *mask, unsigned int ncpus,
1781 if (!--ncpus)
1831 static bool __init cpuhp_bringup_cpus_parallel(unsigned int ncpus)
1850 cpuhp_bringup_mask(&tmp_mask, ncpus, CPUHP_BP_KICK_AP);
1851 cpuhp_bringup_mask(&tmp_mask, ncpus, CPUHP_ONLINE);
1853 ncpus -= num_online_cpus();
1854 if (!ncpus)
1862 cpuhp_bringup_mask(mask, ncpus, CPUHP_BP_KICK_AP);
1863 cpuhp_bringup_mask(mask, ncpus, CPUHP_ONLINE);
1867 static inline bool cpuhp_bringup_cpus_parallel(unsigned int ncpus) { return false; }