]> git.baikalelectronics.ru Git - kernel.git/commit
x86: msr-index.h: Correct SNB_C1/C3_AUTO_UNDEMOTE defines
authorMatt Turner <mattst88@gmail.com>
Tue, 13 Feb 2018 19:12:05 +0000 (11:12 -0800)
committerLen Brown <len.brown@intel.com>
Sat, 2 Jun 2018 03:12:45 +0000 (23:12 -0400)
commit67e436b1fba58beb29a2a298dcfa7b5dc7d5e1c7
tree2b642f615e3ea99c218a12e4a5f0f58201748a7f
parent7f03249990e3a3f12347934a3dbdcd16f74837ff
x86: msr-index.h: Correct SNB_C1/C3_AUTO_UNDEMOTE defines

According to the Intel Software Developers' Manual, Vol. 4, Order No.
335592, these macros have been reversed since they were added in the
initial turbostat commit. The reversed definitions were presumably
copied from turbostat.c to this file.

Fixes: c5cce0b57964 ("tools/power/x86/turbostat: share kernel MSR #defines")
Signed-off-by: Matt Turner <mattst88@gmail.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/include/asm/msr-index.h