/arch/arm/mach-lionhead/ |
D | platsmp.c | 71 static void __init lionhead_dt_smp_prepare_cpus(unsigned int max_cpus) in lionhead_dt_smp_prepare_cpus() argument 75 for (i = 0; i < max_cpus; i++) in lionhead_dt_smp_prepare_cpus() 86 void __init lionhead_dt_smp_prepare_cpus(unsigned int max_cpus) in lionhead_dt_smp_prepare_cpus() argument 102 static void __init lionhead_smp_prepare_cpus(unsigned int max_cpus) in lionhead_smp_prepare_cpus() argument 108 lionhead_dt_smp_prepare_cpus(max_cpus); in lionhead_smp_prepare_cpus()
|
/arch/x86/include/asm/ |
D | smp.h | 69 void (*smp_prepare_cpus)(unsigned max_cpus); 70 void (*smp_cpus_done)(unsigned max_cpus); 108 static inline void smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument 110 smp_ops.smp_prepare_cpus(max_cpus); in smp_prepare_cpus() 113 static inline void smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument 115 smp_ops.smp_cpus_done(max_cpus); in smp_cpus_done() 155 void native_smp_prepare_cpus(unsigned int max_cpus); 156 void native_smp_cpus_done(unsigned int max_cpus);
|
/arch/arm/mach-vexpress/ |
D | platsmp.c | 132 static void __init vexpress_dt_smp_prepare_cpus(unsigned int max_cpus) in vexpress_dt_smp_prepare_cpus() argument 138 for (i = 0; i < max_cpus; i++) in vexpress_dt_smp_prepare_cpus() 157 void __init vexpress_dt_smp_prepare_cpus(unsigned int max_cpus) in vexpress_dt_smp_prepare_cpus() argument 177 static void __init vexpress_smp_prepare_cpus(unsigned int max_cpus) in vexpress_smp_prepare_cpus() argument 184 ct_desc->smp_enable(max_cpus); in vexpress_smp_prepare_cpus() 186 vexpress_dt_smp_prepare_cpus(max_cpus); in vexpress_smp_prepare_cpus()
|
/arch/mips/kernel/ |
D | smp-bmips.c | 39 static int __maybe_unused max_cpus = 1; variable 84 max_cpus = 2; in bmips_smp_setup() 93 max_cpus = (((read_c0_brcm_config() >> 6) & 0x03) + 1) << 1; in bmips_smp_setup() 96 for (i = 0; i < max_cpus; i++) { in bmips_smp_setup() 103 max_cpus = 1; in bmips_smp_setup() 109 for (i = 0; i < max_cpus; i++) { in bmips_smp_setup() 120 static void bmips_prepare_cpus(unsigned int max_cpus) in bmips_prepare_cpus() argument 439 if (max_cpus > 2) in bmips_ebase_setup()
|
D | smp-up.c | 55 static void __init up_prepare_cpus(unsigned int max_cpus) in up_prepare_cpus() argument
|
/arch/arm64/kernel/ |
D | smp.c | 276 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument 400 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument 412 if (max_cpus > ncores) in smp_prepare_cpus() 413 max_cpus = ncores; in smp_prepare_cpus() 416 if (max_cpus <= 1) in smp_prepare_cpus() 426 max_cpus--; in smp_prepare_cpus() 428 if (max_cpus == 0) in smp_prepare_cpus() 442 max_cpus--; in smp_prepare_cpus()
|
/arch/hexagon/kernel/ |
D | smp.c | 214 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument 218 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument 228 for (i = 0; i < max_cpus; i++) in smp_prepare_cpus() 232 if (max_cpus > 1) in smp_prepare_cpus()
|
/arch/tile/kernel/ |
D | smpboot.c | 56 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument 114 BUG_ON(cpu_count > (max_cpus ? max_cpus : 1)); in smp_prepare_cpus() 241 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
|
/arch/mips/pmcs-msp71xx/ |
D | msp_smtc.c | 91 static void __init msp_smtc_prepare_cpus(unsigned int max_cpus) in msp_smtc_prepare_cpus() argument 93 smtc_prepare_cpus(max_cpus); in msp_smtc_prepare_cpus()
|
/arch/arm/mach-zynq/ |
D | platsmp.c | 115 static void __init zynq_smp_prepare_cpus(unsigned int max_cpus) in zynq_smp_prepare_cpus() argument 123 for (i = 0; i < max_cpus; i++) in zynq_smp_prepare_cpus()
|
/arch/mips/mti-malta/ |
D | malta-smtc.c | 94 static void __init msmtc_prepare_cpus(unsigned int max_cpus) in msmtc_prepare_cpus() argument 96 smtc_prepare_cpus(max_cpus); in msmtc_prepare_cpus()
|
/arch/mips/include/asm/ |
D | cmp.h | 14 extern void cmp_prepare_cpus(unsigned int max_cpus);
|
/arch/arc/kernel/ |
D | smp.c | 63 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument 71 for (i = 0; i < max_cpus; i++) in smp_prepare_cpus() 75 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
|
/arch/blackfin/mach-bf561/include/mach/ |
D | smp.h | 16 void platform_prepare_cpus(unsigned int max_cpus);
|
/arch/arm/kernel/ |
D | smp.c | 377 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument 399 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument 410 if (max_cpus > ncores) in smp_prepare_cpus() 411 max_cpus = ncores; in smp_prepare_cpus() 412 if (ncores > 1 && max_cpus) { in smp_prepare_cpus() 432 smp_ops.smp_prepare_cpus(max_cpus); in smp_prepare_cpus()
|
/arch/arm/mach-virt/ |
D | platsmp.c | 33 static void __init virt_smp_prepare_cpus(unsigned int max_cpus) in virt_smp_prepare_cpus() argument
|
/arch/arm/mach-exynos/ |
D | platsmp.c | 199 static void __init exynos_smp_prepare_cpus(unsigned int max_cpus) in exynos_smp_prepare_cpus() argument 215 for (i = 1; i < max_cpus; ++i) { in exynos_smp_prepare_cpus()
|
/arch/sparc/kernel/ |
D | smp_32.c | 76 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument 184 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument 198 if (extra && max_cpus > i - extra) in smp_prepare_cpus()
|
/arch/sh/include/asm/ |
D | smp-ops.h | 7 void (*prepare_cpus)(unsigned int max_cpus);
|
/arch/sh/kernel/cpu/sh4a/ |
D | smp-shx3.c | 72 static void shx3_prepare_cpus(unsigned int max_cpus) in shx3_prepare_cpus() argument 84 for (i = 0; i < max_cpus; i++) in shx3_prepare_cpus()
|
/arch/m32r/kernel/ |
D | smpboot.c | 163 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument 192 if (!max_cpus) { in smp_prepare_cpus() 212 if (max_cpus <= cpucount + 1) in smp_prepare_cpus() 366 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
|
/arch/arm/mach-shmobile/ |
D | smp-emev2.c | 39 static void __init emev2_smp_prepare_cpus(unsigned int max_cpus) in emev2_smp_prepare_cpus() argument
|
/arch/arm/mach-highbank/ |
D | platsmp.c | 55 static void __init highbank_smp_prepare_cpus(unsigned int max_cpus) in highbank_smp_prepare_cpus() argument
|
/arch/parisc/kernel/ |
D | smp.c | 406 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument 415 parisc_max_cpus = max_cpus; in smp_prepare_cpus() 416 if (!max_cpus) in smp_prepare_cpus()
|
/arch/x86/xen/ |
D | smp.c | 252 static void __init xen_smp_prepare_cpus(unsigned int max_cpus) in xen_smp_prepare_cpus() argument 258 char *m = (max_cpus == 0) ? in xen_smp_prepare_cpus() 287 while ((num_possible_cpus() > 1) && (num_possible_cpus() > max_cpus)) { in xen_smp_prepare_cpus() 413 static void xen_smp_cpus_done(unsigned int max_cpus) in xen_smp_cpus_done() argument 659 static void __init xen_hvm_smp_prepare_cpus(unsigned int max_cpus) in xen_hvm_smp_prepare_cpus() argument 661 native_smp_prepare_cpus(max_cpus); in xen_hvm_smp_prepare_cpus()
|