From patchwork Sun Jan 12 21:42:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 23137 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5DBB920555 for ; Sun, 12 Jan 2014 21:43:25 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id l109sf8874878yhq.1 for ; Sun, 12 Jan 2014 13:43:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=MuOtx1jgE9NYjtzWe8ytVvPr/HWJM6G7ytLAF211Lxc=; b=jNI75ygZQaCaBW+n86QfXsbp6QLX5YdF0Ei95d/K52GxR+CRgut8wlh6LcmV/AEpXA 47OcVnjGg0O/id4jJL5pwAUiAMSKdrzUB/AhgGGfh6kAcGYXN8BQsSZL7ru4ekCNub+0 6R6nnvxISAHmbDjnC/30Du4ty4USQt3d/PFQ7RZ91sDRMgIFVHt52WJwM2/RWqQ4VGHM DaR0zT3Hv7IA8h4JBhBvbyDGkhnyKl26wZMduEeoFHcH67HgFdmNmv+ZTVAAyFeMG+Qz lUp/X75ZKigJTIveOQ7EOaCxHHwcFFqNIvdcSNvuCHK20tdX+YyTnFnDnCjMXVuXHln/ PulQ== X-Gm-Message-State: ALoCoQnyEWkvyETR5ehFGZi0c0OxPiTKScOVMjZzatzvRCFFGJgxu+hun/0oq7vc2D+5+bSQZqWC X-Received: by 10.58.196.145 with SMTP id im17mr1368705vec.38.1389563004164; Sun, 12 Jan 2014 13:43:24 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.75.129 with SMTP id c1ls1283630qew.25.gmail; Sun, 12 Jan 2014 13:43:24 -0800 (PST) X-Received: by 10.58.94.195 with SMTP id de3mr237753veb.39.1389563004074; Sun, 12 Jan 2014 13:43:24 -0800 (PST) Received: from mail-vb0-f47.google.com (mail-vb0-f47.google.com [209.85.212.47]) by mx.google.com with ESMTPS id gx6si9738087vdc.102.2014.01.12.13.43.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 12 Jan 2014 13:43:24 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.47 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.47; Received: by mail-vb0-f47.google.com with SMTP id w8so2235020vbj.6 for ; Sun, 12 Jan 2014 13:43:24 -0800 (PST) X-Received: by 10.52.31.227 with SMTP id d3mr2083517vdi.38.1389563003961; Sun, 12 Jan 2014 13:43:23 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp90992ved; Sun, 12 Jan 2014 13:43:23 -0800 (PST) X-Received: by 10.224.147.75 with SMTP id k11mr32432436qav.22.1389563003492; Sun, 12 Jan 2014 13:43:23 -0800 (PST) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id g2si5197932qag.77.2014.01.12.13.43.23 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 12 Jan 2014 13:43:23 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:39555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2SoV-0000AA-24 for patch@linaro.org; Sun, 12 Jan 2014 16:43:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2So8-0008L5-8Q for qemu-devel@nongnu.org; Sun, 12 Jan 2014 16:43:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2So7-0000Ku-BJ for qemu-devel@nongnu.org; Sun, 12 Jan 2014 16:43:00 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:44731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2So7-0000Kc-4T for qemu-devel@nongnu.org; Sun, 12 Jan 2014 16:42:59 -0500 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1W2Sny-00083c-PG; Sun, 12 Jan 2014 21:42:50 +0000 From: Peter Maydell To: Anthony Liguori Date: Sun, 12 Jan 2014 21:42:50 +0000 Message-Id: <1389562970-30944-2-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1389562970-30944-1-git-send-email-peter.maydell@linaro.org> References: <1389562970-30944-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:1d0::1 Cc: Blue Swirl , qemu-devel@nongnu.org, Aurelien Jarno Subject: [Qemu-devel] [PULL 1/1] arm: fix compile on bigendian host X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.47 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Alexey Kardashevskiy Signed-off-by: Alexey Kardashevskiy Signed-off-by: Peter Maydell --- target-arm/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-arm/cpu.h b/target-arm/cpu.h index f1307eb..198b6b8 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -73,7 +73,7 @@ * significant half of a uint64_t struct member. */ #ifdef HOST_WORDS_BIGENDIAN -#define offsetoflow32(S, M) offsetof(S, M + sizeof(uint32_t)) +#define offsetoflow32(S, M) (offsetof(S, M) + sizeof(uint32_t)) #else #define offsetoflow32(S, M) offsetof(S, M) #endif