CONFIG_NR_CPUS
for (bit = 0; bit < CONFIG_NR_CPUS; bit++) {
for (bit = 0; bit < CONFIG_NR_CPUS; bit++) {
for (i = 0; i < ncores && i < CONFIG_NR_CPUS; i++)
extern s16 __cpuid_to_node[CONFIG_NR_CPUS];
if (pa->apic_id >= CONFIG_NR_CPUS) {
if (pa->apic_id >= CONFIG_NR_CPUS) {
s16 __cpuid_to_node[CONFIG_NR_CPUS] = {
[0 ... CONFIG_NR_CPUS - 1] = NUMA_NO_NODE
#if CONFIG_NR_CPUS > (1U << _Q_OWNER_CPU_BITS)
#if CONFIG_NR_CPUS >= (1U << _Q_TAIL_CPU_BITS)
BUILD_BUG_ON(CONFIG_NR_CPUS >= (1U << _Q_TAIL_CPU_BITS));
#define NR_DTL_PAGE (DISPATCH_LOG_BYTES * CONFIG_NR_CPUS / PAGE_SIZE)
#ifdef CONFIG_NR_CPUS
static pthread_t cpu_threads[CONFIG_NR_CPUS];
static timer_t event_high_res_timer[CONFIG_NR_CPUS] = { 0 };
# define KM_PMDS (KM_MAX_IDX * ((CONFIG_NR_CPUS + 511) / 512))
show_lapic = CONFIG_NR_CPUS;
#if CONFIG_NR_CPUS > ESPFIX_MAX_CPUS
#define ESPFIX_MAX_PAGES DIV_ROUND_UP(CONFIG_NR_CPUS, ESPFIX_STACKS_PER_PAGE)
BUILD_BUG_ON(CONFIG_NR_CPUS > 9999);
#if CONFIG_NR_CPUS < (1U << 14)
#ifndef CONFIG_NR_CPUS
#define NR_CPUS CONFIG_NR_CPUS
DEFINE(NR_CPUS_BITS, order_base_2(CONFIG_NR_CPUS));
BUILD_BUG_ON(CONFIG_NR_CPUS >= (1U << _Q_TAIL_CPU_BITS));
if ((cpunum >= CONFIG_NR_CPUS) || !kgdb_info[cpunum].enter_kgdb)
BUILD_BUG_ON(CONFIG_NR_CPUS >= (1U << _Q_TAIL_CPU_BITS));
.percpu_enqueue_shift = order_base_2(CONFIG_NR_CPUS), \
static struct ring_buffer_iter *buffer_iter[CONFIG_NR_CPUS];
(1024 > 4 * CONFIG_NR_CPUS ? 1024 : 4 * CONFIG_NR_CPUS)
extern unsigned long CONFIG_NR_CPUS __kconfig;
if (CONFIG_NR_CPUS > 1024)