Searched refs:nr_cpus (Results 1 – 8 of 8) sorted by relevance
45 static void __init allocate_lppacas(int nr_cpus, unsigned long limit) in allocate_lppacas() argument47 if (nr_cpus <= NR_LPPACAS) in allocate_lppacas()51 (nr_cpus - NR_LPPACAS)); in allocate_lppacas()87 static inline void allocate_lppacas(int nr_cpus, unsigned long limit) { } in allocate_lppacas() argument103 static void __init allocate_slb_shadows(int nr_cpus, int limit) in allocate_slb_shadows() argument105 int size = PAGE_ALIGN(sizeof(struct slb_shadow) * nr_cpus); in allocate_slb_shadows()130 static void __init allocate_slb_shadows(int nr_cpus, int limit) { } in allocate_slb_shadows() argument
141 loongson_sysconf.nr_cpus = ecpu->nr_cpus; in prom_init_env()144 if (ecpu->nr_cpus > NR_CPUS || ecpu->nr_cpus == 0) in prom_init_env()145 loongson_sysconf.nr_cpus = NR_CPUS; in prom_init_env()146 loongson_sysconf.nr_nodes = (loongson_sysconf.nr_cpus + in prom_init_env()
65 u32 nr_cpus; /* number of (virtual) CPUs */ member135 os_data->nr_cpus = j; in appldata_get_os_data()138 (os_data->nr_cpus * sizeof(struct appldata_os_per_cpu)); in appldata_get_os_data()
49 u32 nr_cpus; member183 u32 nr_cpus; member
69 loongson_sysconf.nr_cpus, num_online_nodes()); in cpu_node_probe()239 for (cpu = 0; cpu < loongson_sysconf.nr_cpus; cpu++) { in prom_meminit()
347 while (i < loongson_sysconf.nr_cpus) { in loongson3_smp_setup()361 while (num < loongson_sysconf.nr_cpus) { in loongson3_smp_setup()
401 unsigned long nr_cpus = num_possible_cpus(), nr_phdr, elf_sz; in prepare_elf64_headers() local408 nr_phdr = nr_cpus + 1; in prepare_elf64_headers()
1889 int nr_cpus; in smp_mpic_probe() local1893 nr_cpus = num_possible_cpus(); in smp_mpic_probe()1895 DBG("nr_cpus: %d\n", nr_cpus); in smp_mpic_probe()1897 if (nr_cpus > 1) in smp_mpic_probe()