Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Dsetup-common.c418 u32 *cpu_to_phys_id = NULL; variable
446 cpu_to_phys_id = memblock_alloc(nr_cpu_ids * sizeof(u32), in smp_setup_cpu_maps()
448 if (!cpu_to_phys_id) in smp_setup_cpu_maps()
490 cpu_to_phys_id[cpu] = be32_to_cpu(intserv[j]); in smp_setup_cpu_maps()
825 set_hard_smp_processor_id(cpu, cpu_to_phys_id[cpu]); in smp_setup_pacas()
828 memblock_free(__pa(cpu_to_phys_id), nr_cpu_ids * sizeof(u32)); in smp_setup_pacas()
829 cpu_to_phys_id = NULL; in smp_setup_pacas()
Dprom.c953 if (cpu_to_phys_id != NULL) in arch_match_cpu_phys_id()
954 return (int)phys_id == cpu_to_phys_id[cpu]; in arch_match_cpu_phys_id()
/arch/powerpc/include/asm/
Dsmp.h30 extern u32 *cpu_to_phys_id;
/arch/powerpc/mm/
Dnuma.c662 if (cpu_to_phys_id) in __vphn_get_associativity()
663 hwid = cpu_to_phys_id[lcpu]; in __vphn_get_associativity()