summaryrefslogtreecommitdiff
path: root/tools/power/x86/turbostat/Makefile
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2016-06-16 23:22:37 -0400
committerLen Brown <len.brown@intel.com>2016-12-01 01:33:19 -0500
commit869ce69e1e8ae7e6fa4a1a90887e5f94eac653eb (patch)
treecb36bfcf6b78447b35298b1512e490fcefc5d68b /tools/power/x86/turbostat/Makefile
parent0f64490978ef9ed4debe33bf0dbf25e80659f7f7 (diff)
downloadlinux-next-869ce69e1e8ae7e6fa4a1a90887e5f94eac653eb.tar.gz
tools/power turbostat: use intel-family.h model strings
All except for model 1F, a Nehalem, which is currently incorrectly indentified as a Westmere in that new header. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power/x86/turbostat/Makefile')
-rw-r--r--tools/power/x86/turbostat/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/power/x86/turbostat/Makefile b/tools/power/x86/turbostat/Makefile
index 8561e7ddca59..8792ad8dbf83 100644
--- a/tools/power/x86/turbostat/Makefile
+++ b/tools/power/x86/turbostat/Makefile
@@ -10,6 +10,7 @@ endif
turbostat : turbostat.c
CFLAGS += -Wall
CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
+CFLAGS += -DINTEL_FAMILY_HEADER='"../../../../arch/x86/include/asm/intel-family.h"'
%: %.c
@mkdir -p $(BUILD_OUTPUT)