Skip to content

Commit

Permalink
tools/power turbostat: delete duplicate #defines
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Len Brown committed Jun 2, 2018
1 parent a00072a commit 9d4eab0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tools/power/x86/turbostat/turbostat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down

0 comments on commit 9d4eab0

Please sign in to comment.