Home
last modified time | relevance | path

Searched refs:lcpu (Results 1 – 10 of 10) sorted by relevance

/arch/powerpc/platforms/cell/
Dsmp.c70 static inline int smp_startup_cpu(unsigned int lcpu) in smp_startup_cpu() argument
78 if (cpumask_test_cpu(lcpu, &of_spin_map)) in smp_startup_cpu()
82 pcpu = get_hard_smp_processor_id(lcpu); in smp_startup_cpu()
85 task_thread_info(paca[lcpu].__current)->preempt_count = 0; in smp_startup_cpu()
95 status = rtas_call(start_cpu, 3, 1, NULL, pcpu, start_here, lcpu); in smp_startup_cpu()
/arch/powerpc/platforms/pseries/
Dsmp.c96 static inline int smp_startup_cpu(unsigned int lcpu) in smp_startup_cpu() argument
104 if (cpumask_test_cpu(lcpu, of_spin_mask)) in smp_startup_cpu()
108 pcpu = get_hard_smp_processor_id(lcpu); in smp_startup_cpu()
112 cpumask_set_cpu(lcpu, of_spin_mask); in smp_startup_cpu()
117 task_thread_info(paca[lcpu].__current)->preempt_count = 0; in smp_startup_cpu()
119 if (get_cpu_current_state(lcpu) == CPU_STATE_INACTIVE) in smp_startup_cpu()
/arch/s390/kernel/
Dtopology.c71 int lcpu; in add_cpus_to_mask() local
74 lcpu = smp_find_processor_id(rcpu); in add_cpus_to_mask()
75 if (lcpu < 0) in add_cpus_to_mask()
77 cpumask_set_cpu(lcpu, &book->mask); in add_cpus_to_mask()
78 cpu_topology[lcpu].book_id = book->id; in add_cpus_to_mask()
79 cpumask_set_cpu(lcpu, &socket->mask); in add_cpus_to_mask()
80 cpu_topology[lcpu].core_id = rcpu; in add_cpus_to_mask()
82 cpu_topology[lcpu].socket_id = rcpu; in add_cpus_to_mask()
85 cpu_topology[lcpu].socket_id = socket->id; in add_cpus_to_mask()
87 smp_cpu_set_polarization(lcpu, tl_cpu->pp); in add_cpus_to_mask()
/arch/powerpc/platforms/wsp/
Dscom_smp.c340 int a2_scom_startup_cpu(unsigned int lcpu, int thr_idx, struct device_node *np) in a2_scom_startup_cpu() argument
348 scom = get_scom(lcpu, np, &core_setup); in a2_scom_startup_cpu()
350 printk(KERN_ERR "Couldn't map SCOM for CPU%d\n", lcpu); in a2_scom_startup_cpu()
354 pr_devel("Bringing up CPU%d using SCOM...\n", lcpu); in a2_scom_startup_cpu()
394 lcpu); in a2_scom_startup_cpu()
402 pr_devel("CPU%d entry point at 0x%lx...\n", lcpu, start_here); in a2_scom_startup_cpu()
406 get_hard_smp_processor_id(lcpu)); in a2_scom_startup_cpu()
Dwsp.h18 extern int a2_scom_startup_cpu(unsigned int lcpu, int thr_idx,
/arch/x86/platform/uv/
Duv_time.c67 int lcpu; /* systemwide logical cpu number */ member
187 head->cpu[bcpu].lcpu = cpu; in uv_rtc_allocate_timers()
210 c = head->cpu[bcpu].lcpu; in uv_rtc_find_next_timer()
/arch/ia64/sn/kernel/sn2/
Dsn2_smp.c167 int i, ibegin, shub1, cnode, mynasid, cpu, lcpu = 0, nasid; in sn2_global_tlb_purge() local
187 lcpu = cpu; in sn2_global_tlb_purge()
196 if (likely(i == 1 && lcpu == smp_processor_id() && mymm)) { in sn2_global_tlb_purge()
/arch/powerpc/mm/
Dnuma.c519 static int __cpuinit numa_setup_cpu(unsigned long lcpu) in numa_setup_cpu() argument
522 struct device_node *cpu = of_get_cpu_node(lcpu, NULL); in numa_setup_cpu()
534 map_cpu_to_node(lcpu, nid); in numa_setup_cpu()
545 unsigned long lcpu = (unsigned long)hcpu; in cpu_numa_callback() local
551 numa_setup_cpu(lcpu); in cpu_numa_callback()
559 unmap_cpu_from_node(lcpu); in cpu_numa_callback()
/arch/x86/kernel/cpu/mcheck/
Dmce_amd.c758 unsigned lcpu = 0; in threshold_init_device() local
761 for_each_online_cpu(lcpu) { in threshold_init_device()
762 int err = threshold_create_device(lcpu); in threshold_init_device()
/arch/x86/kernel/apic/
Dx2apic_uv_x.c865 int bytes, nid, cpu, lcpu, pnode, blade, i, j, m_val, n_val; in uv_system_init() local
960 lcpu = uv_blade_info[blade].nr_possible_cpus; in uv_system_init()
971 uv_cpu_hub_info(cpu)->blade_processor_id = lcpu; in uv_system_init()