Searched refs:boot_cpu (Results 1 – 7 of 7) sorted by relevance
/arch/arm/mach-omap2/ |
D | omap-hotplug.c | 32 unsigned int boot_cpu = 0; in omap4_cpu_die() local 53 boot_cpu = omap_read_auxcoreboot0() >> 9; in omap4_cpu_die() 55 boot_cpu = in omap4_cpu_die() 58 if (boot_cpu == smp_processor_id()) { in omap4_cpu_die()
|
D | omap-wakeupgen.c | 519 unsigned int boot_cpu = smp_processor_id(); in wakeupgen_init() local 578 irq_target_cpu[i] = boot_cpu; in wakeupgen_init()
|
/arch/mips/netlogic/xlr/ |
D | wakeup.c | 54 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/ |
D | smpboot.c | 61 int boot_cpu = smp_processor_id(); in smp_prepare_cpus() local 63 current_thread_info()->cpu = boot_cpu; in smp_prepare_cpus() 69 rc = sched_setaffinity(current->pid, cpumask_of(boot_cpu)); in smp_prepare_cpus() 89 if (cpu == boot_cpu) in smp_prepare_cpus()
|
D | setup.c | 1301 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/ |
D | smp.c | 170 unsigned int boot_cpu; in nlm_smp_setup() local 174 boot_cpu = hard_smp_processor_id(); in nlm_smp_setup() 177 cpumask_set_cpu(boot_cpu, &phys_cpu_present_mask); in nlm_smp_setup() 178 __cpu_number_map[boot_cpu] = 0; in nlm_smp_setup() 179 __cpu_logical_map[0] = boot_cpu; in nlm_smp_setup()
|
/arch/mips/kernel/ |
D | smp-bmips.c | 77 int i, cpu = 1, boot_cpu = 0; in bmips_smp_setup() local 90 boot_cpu = !!(read_c0_brcm_cmt_local() & (1 << 31)); in bmips_smp_setup() 98 if (boot_cpu == 0) in bmips_smp_setup() 138 __cpu_number_map[boot_cpu] = 0; in bmips_smp_setup() 139 __cpu_logical_map[0] = boot_cpu; in bmips_smp_setup() 142 if (i != boot_cpu) { in bmips_smp_setup()
|