diff mbox

[2/2] Added an arm compiler flag

Message ID 1303119152-21856-3-git-send-email-amit.kachhap@linaro.org
State New
Headers show

Commit Message

Amit Daniel Kachhap April 18, 2011, 9:32 a.m. UTC
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 mbox

Patch

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;