File x86_perf_makefile_fix_asm_header.patch of Package cpupower.22252

Index: x86_energy_perf_policy-17.05.11/Makefile
===================================================================
--- x86_energy_perf_policy-17.05.11.orig/Makefile	2019-04-08 16:05:22.534455032 +0200
+++ x86_energy_perf_policy-17.05.11/Makefile	2019-04-08 16:05:52.306456636 +0200
@@ -10,7 +10,7 @@ endif
 
 x86_energy_perf_policy : x86_energy_perf_policy.c
 override CFLAGS +=	-Wall
-override CFLAGS +=	-DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
+override CFLAGS +=	-DMSRHEADER='"msr-index.h"'
 
 %: %.c
 	@mkdir -p $(BUILD_OUTPUT)
openSUSE Build Service is sponsored by