Searched refs:threads_shift (Results 1 – 3 of 3) sorted by relevance
22 extern int threads_shift;27 #define threads_shift 0 macro61 return nr_cpu_ids >> threads_shift; in cpu_nr_cores()
394 int threads_per_core, threads_per_subcore, threads_shift; variable398 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()
577 return cpu >> threads_shift; in cpu_core_index_of_thread()583 return core << threads_shift; in cpu_first_thread_of_core()