Home
last modified time | relevance | path

Searched refs:boot_cpu (Results 1 – 7 of 7) sorted by relevance

/arch/arm/mach-omap2/
Domap-hotplug.c32 unsigned int boot_cpu = 0; in omap4_cpu_die() local
53 boot_cpu = omap_read_auxcoreboot0(); in omap4_cpu_die()
55 boot_cpu = in omap4_cpu_die()
58 if (boot_cpu == smp_processor_id()) { in omap4_cpu_die()
Domap-wakeupgen.c469 unsigned int boot_cpu = smp_processor_id(); in wakeupgen_init() local
524 irq_target_cpu[i] = boot_cpu; in wakeupgen_init()
/arch/mips/netlogic/xlr/
Dwakeup.c54 unsigned int i, j, boot_cpu; in xlr_wakeup_secondary_cpus() local
62 boot_cpu = hard_smp_processor_id(); in xlr_wakeup_secondary_cpus()
65 if (i == boot_cpu || !cpumask_test_cpu(i, &nlm_cpumask)) in xlr_wakeup_secondary_cpus()
/arch/tile/kernel/
Dsmpboot.c60 int boot_cpu = smp_processor_id(); in smp_prepare_cpus() local
62 current_thread_info()->cpu = boot_cpu; in smp_prepare_cpus()
68 rc = sched_setaffinity(current->pid, cpumask_of(boot_cpu)); in smp_prepare_cpus()
88 if (cpu == boot_cpu) in smp_prepare_cpus()
Dsetup.c1301 int boot_cpu = smp_processor_id(); in disabled_cpus() local
1305 if (cpumask_test_cpu(boot_cpu, &disabled_map)) { in disabled_cpus()
1306 pr_err("disabled_cpus: can't disable boot cpu %d\n", boot_cpu); in disabled_cpus()
1307 cpumask_clear_cpu(boot_cpu, &disabled_map); in disabled_cpus()
1324 int boot_cpu = smp_processor_id(); in setup_cpu_maps() local
1333 if (!cpumask_test_cpu(boot_cpu, &cpu_possible_init)) in setup_cpu_maps()
1334 early_panic("Boot CPU %d disabled by hypervisor!\n", boot_cpu); in setup_cpu_maps()
1348 cpumask_set_cpu(boot_cpu, &disabled_map); /* ignore this cpu */ in setup_cpu_maps()
1354 cpumask_clear_cpu(boot_cpu, &disabled_map); /* reset this cpu */ in setup_cpu_maps()
/arch/mips/netlogic/common/
Dsmp.c167 unsigned int boot_cpu; in nlm_smp_setup() local
171 boot_cpu = hard_smp_processor_id(); in nlm_smp_setup()
174 cpumask_set_cpu(boot_cpu, &phys_cpu_present_mask); in nlm_smp_setup()
175 __cpu_number_map[boot_cpu] = 0; in nlm_smp_setup()
176 __cpu_logical_map[0] = boot_cpu; in nlm_smp_setup()
/arch/mips/kernel/
Dsmp-bmips.c75 int i, cpu = 1, boot_cpu = 0; in bmips_smp_setup() local
88 boot_cpu = !!(read_c0_brcm_cmt_local() & (1 << 31)); in bmips_smp_setup()
96 if (boot_cpu == 0) in bmips_smp_setup()
136 __cpu_number_map[boot_cpu] = 0; in bmips_smp_setup()
137 __cpu_logical_map[0] = boot_cpu; in bmips_smp_setup()
140 if (i != boot_cpu) { in bmips_smp_setup()