From: Stephen Rothwell sfr@canb.auug.org.au
mainline inclusion from mainline-v5.3-rc1 commit 8da04e05cdfc715d414a1c5f8318c03030eb68fb category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I47H3V CVE: NA
--------------------------------
Fixes: 7ebf8eff63b4 ("intel_rapl: introduce struct rapl_if_private") Signed-off-by: Stephen Rothwell sfr@canb.auug.org.au Signed-off-by: Rafael J. Wysocki rafael.j.wysocki@intel.com Signed-off-by: Zheng Zengkai zhengzengkai@huawei.com Reviewed-by: Hanjun Guo guohanjun@huawei.com Reviewed-by: Xie XiuQi xiexiuqi@huawei.com Signed-off-by: Yang Yingliang yangyingliang@huawei.com --- include/linux/intel_rapl.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/include/linux/intel_rapl.h b/include/linux/intel_rapl.h index 0c179d92d1106..efb3ce892c20d 100644 --- a/include/linux/intel_rapl.h +++ b/include/linux/intel_rapl.h @@ -12,6 +12,7 @@
#include <linux/types.h> #include <linux/powercap.h> +#include <linux/cpuhotplug.h>
enum rapl_domain_type { RAPL_DOMAIN_PACKAGE, /* entire package/socket */