diff --git a/include/linux/sched/topology.h b/include/linux/sched/topology.h index 73c7789b1021..a29eacf1f6e7 100644 --- a/include/linux/sched/topology.h +++ b/include/linux/sched/topology.h @@ -89,7 +89,9 @@ struct sched_domain_shared { atomic_t ref; atomic_t nr_busy_cpus; int has_idle_cores; +#ifndef __GENKSYMS__ int nr_idle_scan; +#endif #ifdef CONFIG_ARM64 } ____cacheline_aligned; #else