Home
last modified time | relevance | path

Searched refs:threads_per_core (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/arch/powerpc/include/asm/
Dcputhreads.h20 extern int threads_per_core;
24 #define threads_per_core 1 macro
46 for (i = 0; i < NR_CPUS; i += threads_per_core) { in cpu_thread_mask_to_cores()
74 return cpu & (threads_per_core - 1); in cpu_thread_in_core()
79 return cpu & ~(threads_per_core - 1); in cpu_first_thread_sibling()
84 return cpu | (threads_per_core - 1); in cpu_last_thread_sibling()
/linux-2.6.39/arch/powerpc/kernel/
Dsetup_64.c107 smt_enabled_at_boot = threads_per_core; in check_smt_enabled()
112 smt_enabled_at_boot = threads_per_core; in check_smt_enabled()
122 min(threads_per_core, (int)smt); in check_smt_enabled()
132 smt_enabled_at_boot = threads_per_core; in check_smt_enabled()
Dsetup-common.c376 int threads_per_core, threads_shift; variable
383 threads_per_core = tpc; in cpu_init_thread_core_maps()
Dsmp.c563 for (i = 0; i < threads_per_core; i++) { in start_secondary()
654 for (i = 0; i < threads_per_core; i++) { in __cpu_disable()
/linux-2.6.39/arch/ia64/kernel/
Dsetup.c690 if (c->threads_per_core > 1 || c->cores_per_socket > 1) in show_cpuinfo()
802 c->threads_per_core = c->cores_per_socket = c->num_log = 1; in identify_cpu()
807 if (c->threads_per_core > smp_num_siblings) in identify_cpu()
808 smp_num_siblings = c->threads_per_core; in identify_cpu()
Dsmpboot.c662 if (cpu_data(cpu)->threads_per_core == 1 && in remove_siblinginfo()
824 if (cpu_data(cpu)->threads_per_core == 1 && in __cpu_up()
900 c->threads_per_core = info.overview_tpc; in identify_siblings()
Dtopology.c148 if (cpu_data(cpu)->threads_per_core <= 1 && in cache_shared_cpu_map_setup()
/linux-2.6.39/arch/ia64/include/asm/
Dprocessor.h213 unsigned char threads_per_core; /* Threads per core */ member