Home
last modified time | relevance | path

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

/linux/arch/powerpc/kernel/
H A Dsetup-common.c413 u32 *cpu_to_phys_id = NULL; variable
427 cpu_to_phys_id[cpu] = hwid; in assign_threads()
460 cpu_to_phys_id = memblock_alloc(nr_cpu_ids * sizeof(u32), in smp_setup_cpu_maps()
462 if (!cpu_to_phys_id) in smp_setup_cpu_maps()
895 set_hard_smp_processor_id(cpu, cpu_to_phys_id[cpu]); in smp_setup_pacas()
898 memblock_free(cpu_to_phys_id, nr_cpu_ids * sizeof(u32)); in smp_setup_pacas()
899 cpu_to_phys_id = NULL; in smp_setup_pacas()
H A Dprom.c1040 if (cpu_to_phys_id != NULL) in arch_match_cpu_phys_id()
1041 return (int)phys_id == cpu_to_phys_id[cpu]; in arch_match_cpu_phys_id()
/linux/arch/powerpc/include/asm/
H A Dsmp.h32 extern u32 *cpu_to_phys_id;
/linux/arch/powerpc/mm/
H A Dnuma.c661 if (cpu_to_phys_id) in __vphn_get_associativity()
662 hwid = cpu_to_phys_id[lcpu]; in __vphn_get_associativity()