From: Amit Daniel Kachhap amit.kachhap@linaro.org
Modified to extract correct elements of power_entry structure.
Signed-off-by: Amit Daniel Kachhap amit.kachhap@linaro.org --- 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;