Home
last modified time | relevance | path

Searched refs:cpu_callin_map (Results 1 – 12 of 12) sorted by relevance

/arch/m32r/kernel/
Dsmpboot.c78 static cpumask_t cpu_callin_map; variable
140 cpu_set(0, cpu_callin_map); in smp_prepare_boot_cpu()
326 if (cpu_isset(cpu_id, cpu_callin_map)) in do_boot_cpu()
331 if (cpu_isset(cpu_id, cpu_callin_map)) { in do_boot_cpu()
344 cpu_clear(cpu_id, cpu_callin_map); in do_boot_cpu()
376 if (cpus_equal(cpu_callin_map, cpu_online_map)) in smp_cpus_done()
380 if (!cpus_equal(cpu_callin_map, cpu_online_map)) in smp_cpus_done()
466 if (cpu_isset(cpu_id, cpu_callin_map)) { in smp_callin()
489 cpu_set(cpu_id, cpu_callin_map); in smp_callin()
/arch/blackfin/mach-bf561/
Dsmp.c32 static cpumask_t cpu_callin_map; variable
97 cpu_set(cpu, cpu_callin_map); in platform_secondary_init()
120 if (cpu_isset(cpu, cpu_callin_map)) in platform_boot_secondary()
128 return cpu_isset(cpu, cpu_callin_map) ? 0 : -ENOSYS; in platform_boot_secondary()
/arch/um/kernel/
Dsmp.c60 static cpumask_t cpu_callin_map = CPU_MASK_NONE; variable
73 if (cpu_test_and_set(cpu, cpu_callin_map)) { in idle_proc()
118 cpu_set(me, cpu_callin_map); in smp_prepare_cpus()
134 while (waittime-- && !cpu_isset(cpu, cpu_callin_map)) in smp_prepare_cpus()
/arch/powerpc/kernel/
Dsmp.c71 static volatile unsigned int cpu_callin_map[NR_CPUS]; variable
268 cpu_callin_map[boot_cpuid] = 1; in smp_prepare_cpus()
388 cpu_callin_map[cpu] = 0; in __cpu_up()
406 for (c = 50000; c && !cpu_callin_map[cpu]; c--) in __cpu_up()
414 for (c = 25; c && !cpu_callin_map[cpu]; c--) { in __cpu_up()
419 if (!cpu_callin_map[cpu]) { in __cpu_up()
494 cpu_callin_map[cpu] = 1; in start_secondary()
/arch/mips/kernel/
Dsmp.c47 volatile cpumask_t cpu_callin_map; /* Bitmask of started secondaries */ variable
124 cpu_set(cpu, cpu_callin_map); in start_secondary()
195 cpu_set(0, cpu_callin_map); in smp_prepare_boot_cpu()
221 while (!cpu_isset(cpu, cpu_callin_map)) in __cpu_up()
/arch/sparc/kernel/
Dsun4m_smp.c42 extern volatile unsigned long cpu_callin_map[NR_CPUS];
94 swap_ulong(&cpu_callin_map[cpuid], 1); in smp4m_callin()
167 if(cpu_callin_map[i]) in smp4m_boot_one_cpu()
172 if (!(cpu_callin_map[i])) { in smp4m_boot_one_cpu()
Dsun4d_smp.c46 extern volatile unsigned long cpu_callin_map[NR_CPUS];
118 sun4d_swap((unsigned long *)&cpu_callin_map[cpuid], 1); in smp4d_callin()
209 if(cpu_callin_map[i]) in smp4d_boot_one_cpu()
214 if (!(cpu_callin_map[i])) { in smp4d_boot_one_cpu()
Dsmp_32.c38 volatile unsigned long cpu_callin_map[NR_CPUS] __cpuinitdata = {0,}; variable
/arch/ia64/kernel/
Dsmpboot.c145 static volatile cpumask_t cpu_callin_map; variable
453 cpu_set(cpuid, cpu_callin_map); in smp_callin()
544 if (cpu_isset(cpu, cpu_callin_map)) in do_boot_cpu()
550 if (!cpu_isset(cpu, cpu_callin_map)) { in do_boot_cpu()
615 cpu_set(0, cpu_callin_map); in smp_prepare_cpus()
642 cpu_set(smp_processor_id(), cpu_callin_map); in smp_prepare_boot_cpu()
749 cpu_clear(cpu, cpu_callin_map); in __cpu_disable()
819 if (cpu_isset(cpu, cpu_callin_map)) in __cpu_up()
/arch/x86/include/asm/
Dsmp.h30 extern cpumask_t cpu_callin_map;
35 #define cpu_callin_mask ((struct cpumask *)&cpu_callin_map)
/arch/x86/mach-voyager/
Dvoyager_smp.c469 cpu_set(cpuid, cpu_callin_map); in start_secondary()
1753 cpu_callin_map = CPU_MASK_NONE; in voyager_smp_prepare_boot_cpu()
1765 if (!cpu_isset(cpu, cpu_callin_map)) in voyager_cpu_up()
/arch/x86/kernel/cpu/
Dcommon.c55 cpumask_t cpu_callin_map; variable