hulk inclusion bugzilla: https://gitee.com/openeuler/kernel/issues/I8PS7G CVE: NA
---------------------------------------------
Add kabi_reserve in energy_model.h
Signed-off-by: Lin Yujun linyujun809@huawei.com --- include/linux/energy_model.h | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/include/linux/energy_model.h b/include/linux/energy_model.h index b9caa01dfac4..0091bf129f77 100644 --- a/include/linux/energy_model.h +++ b/include/linux/energy_model.h @@ -9,6 +9,7 @@ #include <linux/sched/cpufreq.h> #include <linux/sched/topology.h> #include <linux/types.h> +#include <linux/kabi.h>
/** * struct em_perf_state - Performance state of a performance domain @@ -24,6 +25,8 @@ struct em_perf_state { unsigned long power; unsigned long cost; unsigned long flags; + KABI_RESERVE(1) + KABI_RESERVE(2) };
/* @@ -56,6 +59,8 @@ struct em_perf_domain { struct em_perf_state *table; int nr_perf_states; unsigned long flags; + KABI_RESERVE(1) + KABI_RESERVE(2) unsigned long cpus[]; };