Searched refs:threads_shift (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/include/asm/
H A Dcputhreads.h21 extern int threads_shift;
25 #define threads_shift 0 macro
56 return NR_CPUS >> threads_shift;
66 return cpu >> threads_shift;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/kernel/
H A Dsetup-common.c375 int threads_per_core, threads_shift; variable
388 threads_shift = ilog2(tpc);
389 BUG_ON(tpc != (1 << threads_shift));
396 printk(KERN_DEBUG " (thread shift is %d)\n", threads_shift);

Completed in 63 milliseconds