Lines Matching refs:num_cpus
33 static int num_cpus; variable
216 static int load_sipi_vector(atomic_t **ap_countp, int num_cpus) in load_sipi_vector() argument
245 size = params->stack_size * num_cpus; in load_sipi_vector()
379 int num_aps = num_cpus - 1; in bsp_do_flight_plan()
514 num_cpus = cpu_get_count(cpu); in mp_init()
515 if (num_cpus < 0) { in mp_init()
516 debug("Cannot get number of CPUs: err=%d\n", num_cpus); in mp_init()
517 return num_cpus; in mp_init()
520 if (num_cpus < 2) in mp_init()
523 ret = check_cpu_devices(num_cpus); in mp_init()
532 ret = load_sipi_vector(&ap_count, num_cpus); in mp_init()
543 num_aps = num_cpus - 1; in mp_init()