Home
last modified time | relevance | path

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

/arch/arm/mach-shmobile/
Dsmp-sh73a0.c38 unsigned int lcpu = cpu_logical_map(cpu); in sh73a0_boot_secondary() local
40 if (((__raw_readl(PSTR) >> (4 * lcpu)) & 3) == 3) in sh73a0_boot_secondary()
41 __raw_writel(1 << lcpu, WUPCR); /* wake up */ in sh73a0_boot_secondary()
43 __raw_writel(1 << lcpu, SRESCR); /* reset */ in sh73a0_boot_secondary()
Dsmp-r8a7779.c77 unsigned int lcpu = cpu_logical_map(cpu); in r8a7779_boot_secondary() local
80 if (lcpu < ARRAY_SIZE(r8a7779_ch_cpu)) in r8a7779_boot_secondary()
81 ch = r8a7779_ch_cpu[lcpu]; in r8a7779_boot_secondary()
/arch/powerpc/platforms/cell/
Dsmp.c71 static inline int smp_startup_cpu(unsigned int lcpu) in smp_startup_cpu() argument
79 if (cpumask_test_cpu(lcpu, &of_spin_map)) in smp_startup_cpu()
83 pcpu = get_hard_smp_processor_id(lcpu); in smp_startup_cpu()
86 task_thread_info(paca[lcpu].__current)->preempt_count = 0; in smp_startup_cpu()
96 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.c92 int lcpu, i; in add_cpus_to_mask() local
95 lcpu = smp_find_processor_id(rcore << smp_cpu_mt_shift); in add_cpus_to_mask()
96 if (lcpu < 0) in add_cpus_to_mask()
99 topo = &per_cpu(cpu_topology, lcpu + i); in add_cpus_to_mask()
104 topo->thread_id = lcpu + i; in add_cpus_to_mask()
105 cpumask_set_cpu(lcpu + i, &drawer->mask); in add_cpus_to_mask()
106 cpumask_set_cpu(lcpu + i, &book->mask); in add_cpus_to_mask()
107 cpumask_set_cpu(lcpu + i, &socket->mask); in add_cpus_to_mask()
108 smp_cpu_set_polarization(lcpu + i, tl_core->pp); in add_cpus_to_mask()
/arch/x86/platform/uv/
Duv_time.c66 int lcpu; /* systemwide logical cpu number */ member
186 head->cpu[bcpu].lcpu = cpu; in uv_rtc_allocate_timers()
209 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.c526 static int numa_setup_cpu(unsigned long lcpu) in numa_setup_cpu() argument
536 if ((nid = numa_cpu_lookup_table[lcpu]) >= 0) { in numa_setup_cpu()
537 map_cpu_to_node(lcpu, nid); in numa_setup_cpu()
541 cpu = of_get_cpu_node(lcpu, NULL); in numa_setup_cpu()
545 if (cpu_present(lcpu)) in numa_setup_cpu()
557 map_cpu_to_node(lcpu, nid); in numa_setup_cpu()
/arch/x86/kernel/cpu/mcheck/
Dmce_amd.c1140 unsigned lcpu = 0; in threshold_init_device() local
1143 for_each_online_cpu(lcpu) { in threshold_init_device()
1144 int err = threshold_create_device(lcpu); in threshold_init_device()