Commit b9acc59d authored by Lin Yujun's avatar Lin Yujun
Browse files

energy_model: Add kabi_reserve

hulk inclusion
bugzilla: https://gitee.com/openeuler/kernel/issues/I8PS7G


CVE: NA

---------------------------------------------

Add kabi_reserve in energy_model.h

Signed-off-by: default avatarLin Yujun <linyujun809@huawei.com>
parent e2d451c4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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[];
};