Home
last modified time | relevance | path

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

/linux-3.4.99/arch/powerpc/platforms/cell/
Dsmp.c70 static inline int __devinit 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()
/linux-3.4.99/arch/powerpc/platforms/pseries/
Dsmp.c91 static inline int __devinit smp_startup_cpu(unsigned int lcpu) in smp_startup_cpu() argument
99 if (cpumask_test_cpu(lcpu, of_spin_mask)) in smp_startup_cpu()
103 pcpu = get_hard_smp_processor_id(lcpu); in smp_startup_cpu()
107 cpumask_set_cpu(lcpu, of_spin_mask); in smp_startup_cpu()
112 task_thread_info(paca[lcpu].__current)->preempt_count = 0; in smp_startup_cpu()
114 if (get_cpu_current_state(lcpu) == CPU_STATE_INACTIVE) in smp_startup_cpu()
/linux-3.4.99/arch/s390/kernel/
Dtopology.c83 int lcpu; in add_cpus_to_mask() local
86 lcpu = smp_find_processor_id(rcpu); in add_cpus_to_mask()
87 if (lcpu >= 0) { in add_cpus_to_mask()
88 cpumask_set_cpu(lcpu, &book->mask); in add_cpus_to_mask()
89 cpu_book_id[lcpu] = book->id; in add_cpus_to_mask()
90 cpumask_set_cpu(lcpu, &core->mask); in add_cpus_to_mask()
92 cpu_core_id[lcpu] = rcpu; in add_cpus_to_mask()
95 cpu_core_id[lcpu] = core->id; in add_cpus_to_mask()
97 cpu_set_polarization(lcpu, tl_cpu->pp); in add_cpus_to_mask()
/linux-3.4.99/arch/powerpc/platforms/wsp/
Dscom_smp.c340 int __devinit a2_scom_startup_cpu(unsigned int lcpu, int thr_idx, in a2_scom_startup_cpu() argument
349 scom = get_scom(lcpu, np, &core_setup); in a2_scom_startup_cpu()
351 printk(KERN_ERR "Couldn't map SCOM for CPU%d\n", lcpu); in a2_scom_startup_cpu()
355 pr_devel("Bringing up CPU%d using SCOM...\n", lcpu); in a2_scom_startup_cpu()
395 lcpu); in a2_scom_startup_cpu()
403 pr_devel("CPU%d entry point at 0x%lx...\n", lcpu, start_here); in a2_scom_startup_cpu()
407 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,
/linux-3.4.99/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()
/linux-3.4.99/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()
/linux-3.4.99/arch/powerpc/mm/
Dnuma.c542 static int __cpuinit numa_setup_cpu(unsigned long lcpu) in numa_setup_cpu() argument
545 struct device_node *cpu = of_get_cpu_node(lcpu, NULL); in numa_setup_cpu()
557 map_cpu_to_node(lcpu, nid); in numa_setup_cpu()
568 unsigned long lcpu = (unsigned long)hcpu; in cpu_numa_callback() local
574 numa_setup_cpu(lcpu); in cpu_numa_callback()
582 unmap_cpu_from_node(lcpu); in cpu_numa_callback()
/linux-3.4.99/arch/x86/kernel/cpu/mcheck/
Dmce_amd.c762 unsigned lcpu = 0; in threshold_init_device() local
765 for_each_online_cpu(lcpu) { in threshold_init_device()
766 int err = threshold_create_device(lcpu); in threshold_init_device()
/linux-3.4.99/drivers/misc/sgi-gru/
Dgrukservices.c265 int lcpu; in gru_get_cpu_resources() local
270 lcpu = uv_blade_processor_id(); in gru_get_cpu_resources()
271 *cb = bs->kernel_cb + lcpu * GRU_HANDLE_STRIDE; in gru_get_cpu_resources()
272 *dsr = bs->kernel_dsr + lcpu * GRU_NUM_KERNEL_DSR_BYTES; in gru_get_cpu_resources()
/linux-3.4.99/arch/x86/kernel/apic/
Dx2apic_uv_x.c748 int bytes, nid, cpu, lcpu, pnode, blade, i, j, m_val, n_val, n_io; in uv_system_init() local
842 lcpu = uv_blade_info[blade].nr_possible_cpus; in uv_system_init()
853 uv_cpu_hub_info(cpu)->blade_processor_id = lcpu; in uv_system_init()
/linux-3.4.99/kernel/
Dworkqueue.c1162 unsigned int lcpu; in queue_delayed_work_on() local
1178 lcpu = gcwq->cpu; in queue_delayed_work_on()
1180 lcpu = raw_smp_processor_id(); in queue_delayed_work_on()
1182 lcpu = WORK_CPU_UNBOUND; in queue_delayed_work_on()
1184 set_work_cwq(work, get_cwq(lcpu, wq), 0); in queue_delayed_work_on()