threads_shift
extern int threads_shift;
return nr_cpu_ids >> threads_shift;
int threads_per_core, threads_per_subcore, threads_shift __read_mostly;
EXPORT_SYMBOL_GPL(threads_shift);
threads_shift = ilog2(tpc);
BUG_ON(tpc != (1 << threads_shift));
printk(KERN_DEBUG " (thread shift is %d)\n", threads_shift);
return cpu >> threads_shift;
return core << threads_shift;
core = cpu >> threads_shift;
core = cpu >> threads_shift;
core = cpu >> threads_shift;
int my_core = smp_processor_id() >> threads_shift;
hcpu = hcore << threads_shift;
core = cpu >> threads_shift;