Home
last modified time | relevance | path

Searched refs:max_cpus (Results 1 – 25 of 46) sorted by relevance

12

/linux-2.6.39/arch/x86/include/asm/
Dsmp.h67 void (*smp_prepare_cpus)(unsigned max_cpus);
68 void (*smp_cpus_done)(unsigned max_cpus);
106 static inline void smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
108 smp_ops.smp_prepare_cpus(max_cpus); in smp_prepare_cpus()
111 static inline void smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
113 smp_ops.smp_cpus_done(max_cpus); in smp_cpus_done()
153 void native_smp_prepare_cpus(unsigned int max_cpus);
154 void native_smp_cpus_done(unsigned int max_cpus);
/linux-2.6.39/arch/tile/kernel/
Dsmpboot.c56 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()
251 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
/linux-2.6.39/arch/arm/mach-vexpress/
Dplatsmp.c34 void __init platform_smp_prepare_cpus(unsigned int max_cpus) in platform_smp_prepare_cpus() argument
40 ct_desc->smp_enable(max_cpus); in platform_smp_prepare_cpus()
/linux-2.6.39/arch/arm/mach-shmobile/
Dplatsmp.c62 void __init platform_smp_prepare_cpus(unsigned int max_cpus) in platform_smp_prepare_cpus() argument
66 for (i = 0; i < max_cpus; i++) in platform_smp_prepare_cpus()
/linux-2.6.39/arch/arm/kernel/
Dsmp.c330 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
352 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
361 if (max_cpus > ncores) in smp_prepare_cpus()
362 max_cpus = ncores; in smp_prepare_cpus()
364 if (max_cpus > 1) { in smp_prepare_cpus()
375 platform_smp_prepare_cpus(max_cpus); in smp_prepare_cpus()
/linux-2.6.39/arch/arm/mach-realview/
Dplatsmp.c66 void __init platform_smp_prepare_cpus(unsigned int max_cpus) in platform_smp_prepare_cpus() argument
74 for (i = 0; i < max_cpus; i++) in platform_smp_prepare_cpus()
/linux-2.6.39/arch/mips/pmc-sierra/msp71xx/
Dmsp_smtc.c91 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()
/linux-2.6.39/arch/arm/mach-omap2/
Domap-smp.c123 void __init platform_smp_prepare_cpus(unsigned int max_cpus) in platform_smp_prepare_cpus() argument
131 for (i = 0; i < max_cpus; i++) in platform_smp_prepare_cpus()
/linux-2.6.39/arch/arm/mach-exynos4/
Dplatsmp.c152 void __init platform_smp_prepare_cpus(unsigned int max_cpus) in platform_smp_prepare_cpus() argument
160 for (i = 0; i < max_cpus; i++) in platform_smp_prepare_cpus()
/linux-2.6.39/arch/arm/mach-tegra/
Dplatsmp.c127 void __init platform_smp_prepare_cpus(unsigned int max_cpus) in platform_smp_prepare_cpus() argument
135 for (i = 0; i < max_cpus; i++) in platform_smp_prepare_cpus()
/linux-2.6.39/arch/arm/mach-msm/
Dplatsmp.c156 void __init platform_smp_prepare_cpus(unsigned int max_cpus) in platform_smp_prepare_cpus() argument
164 for (i = 0; i < max_cpus; i++) in platform_smp_prepare_cpus()
/linux-2.6.39/arch/mips/mti-malta/
Dmalta-smtc.c94 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()
/linux-2.6.39/arch/arm/mach-ux500/
Dplatsmp.c167 void __init platform_smp_prepare_cpus(unsigned int max_cpus) in platform_smp_prepare_cpus() argument
175 for (i = 0; i < max_cpus; i++) in platform_smp_prepare_cpus()
/linux-2.6.39/include/linux/
Dsmp.h59 extern void smp_prepare_cpus(unsigned int max_cpus);
69 extern void smp_cpus_done(unsigned int max_cpus);
/linux-2.6.39/arch/m32r/kernel/
Dsmpboot.c167 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
196 if (!max_cpus) { in smp_prepare_cpus()
216 if (max_cpus <= cpucount + 1) in smp_prepare_cpus()
370 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
/linux-2.6.39/arch/x86/xen/
Dsmp.c206 static void __init xen_smp_prepare_cpus(unsigned int max_cpus) in xen_smp_prepare_cpus() argument
225 while ((num_possible_cpus() > 1) && (num_possible_cpus() > max_cpus)) { in xen_smp_prepare_cpus()
357 static void xen_smp_cpus_done(unsigned int max_cpus) in xen_smp_cpus_done() argument
513 static void __init xen_hvm_smp_prepare_cpus(unsigned int max_cpus) in xen_hvm_smp_prepare_cpus() argument
515 native_smp_prepare_cpus(max_cpus); in xen_hvm_smp_prepare_cpus()
/linux-2.6.39/arch/mips/kernel/
Dsmp-cmp.c189 void __init cmp_prepare_cpus(unsigned int max_cpus) in cmp_prepare_cpus() argument
192 smp_processor_id(), __func__, max_cpus); in cmp_prepare_cpus()
Dsmp.c163 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
170 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
174 mp_ops->prepare_cpus(max_cpus); in smp_prepare_cpus()
/linux-2.6.39/arch/powerpc/kernel/
Dsmp.c260 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
288 max_cpus = smp_ops->probe(); in smp_prepare_cpus()
290 max_cpus = NR_CPUS; in smp_prepare_cpus()
292 max_cpus = 1; in smp_prepare_cpus()
602 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
/linux-2.6.39/arch/sh/kernel/cpu/sh4a/
Dsmp-shx3.c72 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()
/linux-2.6.39/arch/parisc/kernel/
Dsmp.c436 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
445 parisc_max_cpus = max_cpus; in smp_prepare_cpus()
446 if (!max_cpus) in smp_prepare_cpus()
/linux-2.6.39/arch/cris/arch-v32/kernel/
Dsmp.c75 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
83 for (i = 0; i < max_cpus; i++) in smp_prepare_cpus()
105 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
/linux-2.6.39/arch/mips/include/asm/
Dcmp.h14 extern void cmp_prepare_cpus(unsigned int max_cpus);
Dsmvp.h15 extern void smvp_prepare_cpus(unsigned int max_cpus);
/linux-2.6.39/arch/sparc/kernel/
Dsmp_32.c73 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
283 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument
297 if (extra && max_cpus > i - extra) in smp_prepare_cpus()

12