From patchwork Fri Apr 26 14:20:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 16438 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4F6D52397A for ; Fri, 26 Apr 2013 14:21:59 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id hf12sf7273314vcb.4 for ; Fri, 26 Apr 2013 07:21:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=NybgO5DXY0WZgQ/SbbkDBjlf4z2d0jOTm3RlyLs2+6U=; b=eAsMc461ebag2KkcaTeVASq0EL7ohra6GTS5syGr09Vak69GJPyM98y059ecDjutND CMadr2czRd4KAU/uX6ibftDL5WuEE0eotazJ+97GqLNY/eYOQE1uFV6MmqvvKGYop9S8 uhSpoRehFo2w0g38Z4nZ/KTP9AKTVeQ3JEptxUc+M0Kh59c4UOGlrX8Wv37BV0UxHJbx RDphZh1rSbn3AWpeYXqq5DGt07gj6s9pQ0g6dnSuznel3DtKb6AcMZ+rV/oemajJRGP3 fgNNubxSQQxSjVASHacxqJGkUjCBp+A4CsmAdw1n4ktBujFD9vOGYXltZv0vmaFFnmZq 4faA== X-Received: by 10.236.61.42 with SMTP id v30mr2679718yhc.15.1366986063071; Fri, 26 Apr 2013 07:21:03 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.1.4 with SMTP id 4ls1897756qei.68.gmail; Fri, 26 Apr 2013 07:21:02 -0700 (PDT) X-Received: by 10.52.171.13 with SMTP id aq13mr22276883vdc.64.1366986062765; Fri, 26 Apr 2013 07:21:02 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id ez9si5404180vdb.133.2013.04.26.07.21.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Apr 2013 07:21:02 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id ha11so219915vcb.37 for ; Fri, 26 Apr 2013 07:21:02 -0700 (PDT) X-Received: by 10.58.48.166 with SMTP id m6mr16066157ven.59.1366986062562; Fri, 26 Apr 2013 07:21:02 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp71380veb; Fri, 26 Apr 2013 07:21:01 -0700 (PDT) X-Received: by 10.194.177.225 with SMTP id ct1mr43992230wjc.16.1366986061186; Fri, 26 Apr 2013 07:21:01 -0700 (PDT) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [2a00:1450:400c:c05::22d]) by mx.google.com with ESMTPS id d8si3925532wjn.222.2013.04.26.07.21.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Apr 2013 07:21:01 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c05::22d is neither permitted nor denied by best guess record for domain of julien.grall@linaro.org) client-ip=2a00:1450:400c:c05::22d; Received: by mail-wi0-f173.google.com with SMTP id c10so675555wiw.12 for ; Fri, 26 Apr 2013 07:21:00 -0700 (PDT) X-Received: by 10.194.7.68 with SMTP id h4mr82738638wja.49.1366986060658; Fri, 26 Apr 2013 07:21:00 -0700 (PDT) Received: from belegaer.uk.xensource.com. (firewall.ctxuk.citrix.com. [46.33.159.2]) by mx.google.com with ESMTPSA id ek4sm3753411wib.11.2013.04.26.07.20.58 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Apr 2013 07:20:59 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xensource.com Cc: Stefano.Stabellini@eu.citrix.com, Ian.Campbell@citrix.com, patches@linaro.org, Julien Grall Subject: [PATCH] xen/arm: nr_lrs should be static Date: Fri, 26 Apr 2013 15:20:53 +0100 Message-Id: <1366986053-5126-1-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQlJdMNJfeSPJrihUfjaxncp6OGGX8Udeoo7LfPhX50NVEh5XW1gugUvrBgILHJLWFM7HOC8 X-Original-Sender: julien.grall@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.178 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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , nr_lrs is only used in gic.c Signed-off-by: Julien Grall Acked-by: Stefano Stabellini --- xen/arch/arm/gic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/gic.c b/xen/arch/arm/gic.c index 35376ef..bc8faf2 100644 --- a/xen/arch/arm/gic.c +++ b/xen/arch/arm/gic.c @@ -53,7 +53,7 @@ static irq_desc_t irq_desc[NR_IRQS]; static DEFINE_PER_CPU(irq_desc_t[NR_LOCAL_IRQS], local_irq_desc); static DEFINE_PER_CPU(uint64_t, lr_mask); -unsigned nr_lrs; +static unsigned nr_lrs; irq_desc_t *__irq_to_desc(int irq) {