summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2018-06-01 20:04:18 +0300
committerLen Brown <len.brown@intel.com>2018-06-02 06:12:45 +0300
commit9d4eab02a7fe5526850086326769aa1b7048fd7b (patch)
treec76affaebbf936a90049c02fc5a432cf2973699a /tools
parenta00072a24a9f5b88cfc56f2dec6afe8ce3874e60 (diff)
downloadlinux-9d4eab02a7fe5526850086326769aa1b7048fd7b.tar.xz
tools/power turbostat: delete duplicate #defines
The SNB_C1_AUTO_UNDEMOTE definition should have been deleted once it was copied into msr-index.h. One copy of the truth is better -- particularly when Matt needs to fix it:-) Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/power/x86/turbostat/turbostat.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 64ad2b51ddd4..a9085775a3de 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -2149,9 +2149,6 @@ dump_nhm_cst_cfg(void)
get_msr(base_cpu, MSR_PKG_CST_CONFIG_CONTROL, &msr);
-#define SNB_C3_AUTO_UNDEMOTE (1UL << 27)
-#define SNB_C1_AUTO_UNDEMOTE (1UL << 28)
-
fprintf(outf, "cpu%d: MSR_PKG_CST_CONFIG_CONTROL: 0x%08llx", base_cpu, msr);
fprintf(outf, " (%s%s%s%s%slocked, pkg-cstate-limit=%d (%s)",