From patchwork Fri Oct 16 13:57:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 55114 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lf0-f71.google.com (mail-lf0-f71.google.com [209.85.215.71]) by patches.linaro.org (Postfix) with ESMTPS id 8160E22EAC for ; Fri, 16 Oct 2015 14:04:51 +0000 (UTC) Received: by lffv3 with SMTP id v3sf18422265lff.1 for ; Fri, 16 Oct 2015 07:04:50 -0700 (PDT) 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: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=blEbsOVZun6lbnj+k/YU9TktItcyvL3HTikdlA1Hpkk=; b=hS49/XRfbnB/pYKukE10KI/RE09iZeClmc6bQY2eh0z0fBoN8xN+WdECBKN4nT1xHG Ld62fm8mWKtTzbw9gTXD6M0bwc3AOVYjlo+WKK1NxVwKgZGiotdHijj8olcgaR/f1GfH 0ugv4WltpByQ+y0KF/eUxof5YtxaPequKd6jXtugxAsgwUIfcZms/UM3T6/tCGLlSTc+ IINQFmPcFVkPRAVII1nnJ+n1jpX+2kZSBFM2eXSzLgIO12SHXoxnX9uz47y8KM6ie+U7 2PTyN6qguzT2Xt73uPEhE0iKC4nDv3QtFKRSjXXo5Z1rwe7dVeTsFmNJHpAvZdRBuw8Y d2vg== X-Gm-Message-State: ALoCoQk421yt+5fCbie0lQoOIcl4V67Z7VvS+JBrkK2owE0v5y0g77mwsheNCV1ByqlayOOzEIiI X-Received: by 10.181.29.103 with SMTP id jv7mr1207409wid.0.1445004290477; Fri, 16 Oct 2015 07:04:50 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.147.7 with SMTP id v7ls287374lfd.65.gmail; Fri, 16 Oct 2015 07:04:50 -0700 (PDT) X-Received: by 10.112.132.7 with SMTP id oq7mr8546414lbb.32.1445004290293; Fri, 16 Oct 2015 07:04:50 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id a20si8594124lfe.178.2015.10.16.07.04.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Oct 2015 07:04:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by lbcao8 with SMTP id ao8so100881321lbc.3 for ; Fri, 16 Oct 2015 07:04:50 -0700 (PDT) X-Received: by 10.112.163.131 with SMTP id yi3mr8338075lbb.36.1445004290170; Fri, 16 Oct 2015 07:04:50 -0700 (PDT) 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.112.59.35 with SMTP id w3csp1311614lbq; Fri, 16 Oct 2015 07:04:49 -0700 (PDT) X-Received: by 10.55.221.9 with SMTP id n9mr18921221qki.64.1445004289012; Fri, 16 Oct 2015 07:04:49 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 100si18057725qgg.31.2015.10.16.07.04.48 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 16 Oct 2015 07:04:48 -0700 (PDT) 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]:53872 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn5cm-0002eV-N0 for patch@linaro.org; Fri, 16 Oct 2015 10:04:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn5WP-000225-9J for qemu-devel@nongnu.org; Fri, 16 Oct 2015 09:58:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zn5WO-0000nI-6T for qemu-devel@nongnu.org; Fri, 16 Oct 2015 09:58:13 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:35158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn5WN-0000ht-W7 for qemu-devel@nongnu.org; Fri, 16 Oct 2015 09:58:12 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1Zn5WJ-0003m0-Iy for qemu-devel@nongnu.org; Fri, 16 Oct 2015 14:58:07 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Fri, 16 Oct 2015 14:57:55 +0100 Message-Id: <1445003887-14475-2-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1445003887-14475-1-git-send-email-peter.maydell@linaro.org> References: <1445003887-14475-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 Subject: [Qemu-devel] [PULL 01/13] target-arm: Add missing 'static' attribute 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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) smtp.mailfrom=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: Stefan Weil Signed-off-by: Stefan Weil Message-id: 1443213733-9807-1-git-send-email-sw@weilnetz.de Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- target-arm/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-arm/helper.c b/target-arm/helper.c index 8367997..584f6df 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -5194,7 +5194,7 @@ void switch_mode(CPUARMState *env, int mode) * BIT IRQ IMO Non-secure Secure * EL3 FIQ RW FMO EL0 EL1 EL2 EL3 EL0 EL1 EL2 EL3 */ -const int8_t target_el_table[2][2][2][2][2][4] = { +static const int8_t target_el_table[2][2][2][2][2][4] = { {{{{/* 0 0 0 0 */{ 1, 1, 2, -1 },{ 3, -1, -1, 3 },}, {/* 0 0 0 1 */{ 2, 2, 2, -1 },{ 3, -1, -1, 3 },},}, {{/* 0 0 1 0 */{ 1, 1, 2, -1 },{ 3, -1, -1, 3 },},