From 467d9b6f8fd3114e515c0ccb7103561b9f59bb45 Mon Sep 17 00:00:00 2001 From: Guan Jing Date: Wed, 30 Nov 2022 18:23:25 +0800 Subject: [PATCH] sched/fair: Fix kabi borken in sched_domain_shared commit 222d84a0de0d2dbd75b2c73f469d74868955f3b5 openeuler. -------------------------------- The sched_domain_shared structure is only used as pointer, and other drivers don't use it directly. Signed-off-by: Xue Sinian --- include/linux/sched/topology.h | 2 ++ 1 file changed, 2 insertions(+) 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