mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
tools/power turbostat: SGX state should print only if --debug
The CPUID.SGX bit was printed, even if --debug was used Signed-off-by: Len Brown <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
3fdb74649b
commit
8ae7225591
1 changed files with 1 additions and 1 deletions
|
|
@ -3187,7 +3187,7 @@ void process_cpuid()
|
|||
if (debug)
|
||||
decode_misc_enable_msr();
|
||||
|
||||
if (max_level >= 0x7) {
|
||||
if (max_level >= 0x7 && debug) {
|
||||
int has_sgx;
|
||||
|
||||
ecx = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue