Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/kernel/
Dsetup-common.c426 u32 *cpu_to_phys_id = NULL; variable
454 cpu_to_phys_id = memblock_alloc(nr_cpu_ids * sizeof(u32), in smp_setup_cpu_maps()
456 if (!cpu_to_phys_id) in smp_setup_cpu_maps()
498 cpu_to_phys_id[cpu] = be32_to_cpu(intserv[j]); in smp_setup_cpu_maps()
828 set_hard_smp_processor_id(cpu, cpu_to_phys_id[cpu]); in smp_setup_pacas()
831 memblock_free(__pa(cpu_to_phys_id), nr_cpu_ids * sizeof(u32)); in smp_setup_pacas()
832 cpu_to_phys_id = NULL; in smp_setup_pacas()
Dprom.c897 if (cpu_to_phys_id != NULL) in arch_match_cpu_phys_id()
898 return (int)phys_id == cpu_to_phys_id[cpu]; in arch_match_cpu_phys_id()
/Linux-v5.4/arch/powerpc/include/asm/
Dsmp.h30 extern u32 *cpu_to_phys_id;