Home
last modified time | relevance | path

Searched refs:threads_shift (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/arch/powerpc/include/asm/
Dcputhreads.h22 extern int threads_shift;
27 #define threads_shift 0 macro
58 return nr_cpu_ids >> threads_shift; in cpu_nr_cores()
/linux-4.1.27/arch/powerpc/kernel/
Dsetup-common.c394 int threads_per_core, threads_per_subcore, threads_shift; variable
398 EXPORT_SYMBOL_GPL(threads_shift);
412 threads_shift = ilog2(tpc); in cpu_init_thread_core_maps()
413 BUG_ON(tpc != (1 << threads_shift)); in cpu_init_thread_core_maps()
420 printk(KERN_DEBUG " (thread shift is %d)\n", threads_shift); in cpu_init_thread_core_maps()
Dsmp.c577 return cpu >> threads_shift; in cpu_core_index_of_thread()
583 return core << threads_shift; in cpu_first_thread_of_core()