From patchwork Mon Apr 18 09:32:32 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Daniel Kachhap X-Patchwork-Id: 1067 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:48:48 -0000 Delivered-To: patches@linaro.org Received: by 10.224.67.148 with SMTP id r20cs28525qai; Mon, 18 Apr 2011 02:33:29 -0700 (PDT) Received: by 10.216.235.158 with SMTP id u30mr2988965weq.104.1303119209339; Mon, 18 Apr 2011 02:33:29 -0700 (PDT) Received: from mail-wy0-f178.google.com (mail-wy0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id z61si9693189wei.173.2011.04.18.02.33.28 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 18 Apr 2011 02:33:29 -0700 (PDT) Received-SPF: pass (google.com: domain of amitdanielk@gmail.com designates 74.125.82.178 as permitted sender) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=pass (google.com: domain of amitdanielk@gmail.com designates 74.125.82.178 as permitted sender) smtp.mail=amitdanielk@gmail.com; dkim=pass (test mode) header.i=@gmail.com Received: by mail-wy0-f178.google.com with SMTP id 33so4581664wyb.37 for ; Mon, 18 Apr 2011 02:33:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:cc:subject:date:message-id :x-mailer:in-reply-to:references; bh=amUzCdyn0UmpKJ8Yk1fseuKuXRzvs0gKMCk1GluzCWs=; b=MiIsMohzf6fKocuUAT/j/L33wNnC1TwdUM4TUHVTsr3kThXPb4hKfsZmtozxNAhj3k djT0RvZ69v+sKR2TqVRjK9shkFuoPAOgVLkZihK9+x/uSnFoHdP1wsop2CjP4bI4AYCD 7bhoAhl++eSA1jtlwX+U/i7QADYYBmwEiV6jI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; b=Ofifa4GDb5JKD9MTLy+JzKNOwfWSI5ODQNio0/5xqSDukgyQSg9IGrX2MbOnjkucVY KbYESJwlSLtmTNzDMWaJXyGjUz/+czUhyNy8T7msy8ZEGd1IuXhaNx30BqHC1AS2WtE1 IOmYAiz8A0V7GdjNVdGb5Ee8sTg1TBU7ZLIZY= Received: by 10.227.140.159 with SMTP id i31mr4727460wbu.166.1303119208646; Mon, 18 Apr 2011 02:33:28 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id u9sm3135236wbg.34.2011.04.18.02.33.24 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 18 Apr 2011 02:33:28 -0700 (PDT) Sender: amit kachhap From: amit.kachhap@linaro.org To: power@bughost.org Cc: linaro-dev@lists.linaro.org, amit.kachhap@linaro.org, patches@linaro.org Subject: [PATCH 2/2] Added an arm compiler flag Date: Mon, 18 Apr 2011 15:02:32 +0530 Message-Id: <1303119152-21856-3-git-send-email-amit.kachhap@linaro.org> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1303119152-21856-1-git-send-email-amit.kachhap@linaro.org> References: <1303119152-21856-1-git-send-email-amit.kachhap@linaro.org> From: Amit Daniel Kachhap Modified to extract correct elements of power_entry structure. Signed-off-by: Amit Daniel Kachhap --- 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;