Home
last modified time | relevance | path

Searched refs:cpu_to_phys_id (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/
H A Dsetup-common.c428 u32 *cpu_to_phys_id = NULL; variable
456 cpu_to_phys_id = memblock_alloc(nr_cpu_ids * sizeof(u32), in smp_setup_cpu_maps()
458 if (!cpu_to_phys_id) in smp_setup_cpu_maps()
500 cpu_to_phys_id[cpu] = be32_to_cpu(intserv[j]); in smp_setup_cpu_maps()
886 set_hard_smp_processor_id(cpu, cpu_to_phys_id[cpu]); in smp_setup_pacas()
889 memblock_free(cpu_to_phys_id, nr_cpu_ids * sizeof(u32)); in smp_setup_pacas()
890 cpu_to_phys_id = NULL; in smp_setup_pacas()
H A Dprom.c1013 if (cpu_to_phys_id != NULL) in arch_match_cpu_phys_id()
1014 return (int)phys_id == cpu_to_phys_id[cpu]; in arch_match_cpu_phys_id()
/openbmc/linux/arch/powerpc/include/asm/
H A Dsmp.h31 extern u32 *cpu_to_phys_id;
/openbmc/linux/arch/powerpc/mm/
H A Dnuma.c663 if (cpu_to_phys_id) in __vphn_get_associativity()
664 hwid = cpu_to_phys_id[lcpu]; in __vphn_get_associativity()