From: Amit Daniel Kachhap <[email protected]> Modified to extract correct elements of power_entry structure.
Signed-off-by: Amit Daniel Kachhap <[email protected]> --- cpu/cpu.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cpu/cpu.cpp b/cpu/cpu.cpp index 451c120..f9995be 100644 --- a/cpu/cpu.cpp +++ b/cpu/cpu.cpp @@ -747,7 +747,7 @@ void w_display_cpu_pstates(void) struct power_entry { -#ifdef __x86_64__ +#if defined(__x86_64__) || defined(__arm__) int dummy; #endif int64_t type; -- 1.7.1 _______________________________________________ Power mailing list [email protected] https://bughost.org/mailman/listinfo/power
