From patchwork Mon Mar 24 18:49:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Stabellini X-Patchwork-Id: 26945 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2852320490 for ; Mon, 24 Mar 2014 18:51:12 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wn1sf24282754obc.1 for ; Mon, 24 Mar 2014 11:51:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=+ZQsIvcrcyBpjzJcLSMjQrzQWMYmmqMJyC83IelTPXQ=; b=fdCckw0w6RZAh9r8GVPYNck+M5rO5cIXjpvcMwXrHsj9j/2ystlnh5FIzUn2O4eXek keXVliB47sk4X9py+GCJSpy/6RKq9E6Sxt0j/SHijPhbUMU8mrBH+lhxbmPm8gmyWlAS PcWpvek8h3QjMpes7Jp2q9gvxMkvGsjHYs76FjIWQkii8Zdlt5OXVkNPq+5+DpbH7ke2 OXAupIsyDAOoM4dz01CWIRjysSqIkd+OniDFamhKFbX9H4yVi2fDmWgwO2ouKo95wASu ZIHu+dljz/WbD5sVQLbAYpGgI5visEHkfrcoRBgWg++Tw6QGv3yUIC6XgZSFPt8IvOCn 83Pw== X-Gm-Message-State: ALoCoQn0JvZcN7J0o9F2d1KI6K6gxlzL4sPTkHsYnhDgOJ+7NUiPNdjAHEjQLdQiNePLtZNikfnh X-Received: by 10.43.141.196 with SMTP id jf4mr8489046icc.9.1395687072333; Mon, 24 Mar 2014 11:51:12 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.42.20 with SMTP id b20ls1716701qga.5.gmail; Mon, 24 Mar 2014 11:51:12 -0700 (PDT) X-Received: by 10.220.114.135 with SMTP id e7mr2806860vcq.23.1395687072147; Mon, 24 Mar 2014 11:51:12 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id kj3si3289771vdb.105.2014.03.24.11.51.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 24 Mar 2014 11:51:12 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.173 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.173; Received: by mail-vc0-f173.google.com with SMTP id il7so6208802vcb.4 for ; Mon, 24 Mar 2014 11:51:12 -0700 (PDT) X-Received: by 10.52.135.132 with SMTP id ps4mr11516284vdb.2.1395687072064; Mon, 24 Mar 2014 11:51:12 -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.220.78.9 with SMTP id i9csp246611vck; Mon, 24 Mar 2014 11:51:11 -0700 (PDT) X-Received: by 10.52.242.167 with SMTP id wr7mr1819750vdc.32.1395687070962; Mon, 24 Mar 2014 11:51:10 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id nd7si3203084vec.211.2014.03.24.11.51.10 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 24 Mar 2014 11:51:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xen.org designates 50.57.142.19 as permitted sender) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WS9wy-0007VA-QE; Mon, 24 Mar 2014 18:50:20 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WS9wu-0007Sb-Rk for xen-devel@lists.xensource.com; Mon, 24 Mar 2014 18:50:16 +0000 Received: from [85.158.137.68:20752] by server-17.bemta-3.messagelabs.com id 8A/40-22741-86E70335; Mon, 24 Mar 2014 18:50:16 +0000 X-Env-Sender: Stefano.Stabellini@citrix.com X-Msg-Ref: server-16.tower-31.messagelabs.com!1395687013!2652760!2 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n X-StarScan-Received: X-StarScan-Version: 6.11.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 32174 invoked from network); 24 Mar 2014 18:50:15 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-16.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 24 Mar 2014 18:50:15 -0000 X-IronPort-AV: E=Sophos;i="4.97,722,1389744000"; d="scan'208";a="113089155" Received: from accessns.citrite.net (HELO FTLPEX01CL03.citrite.net) ([10.9.154.239]) by FTLPIPO02.CITRIX.COM with ESMTP; 24 Mar 2014 18:50:12 +0000 Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.80) with Microsoft SMTP Server id 14.2.342.4; Mon, 24 Mar 2014 14:50:11 -0400 Received: from kaball.uk.xensource.com ([10.80.2.59]) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from ) id 1WS9wj-0005Cs-Mu; Mon, 24 Mar 2014 18:50:05 +0000 From: Stefano Stabellini To: Date: Mon, 24 Mar 2014 18:49:30 +0000 Message-ID: <1395686975-12649-5-git-send-email-stefano.stabellini@eu.citrix.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 X-DLP: MIA1 Cc: julien.grall@citrix.com, Ian.Campbell@citrix.com, Stefano Stabellini Subject: [Xen-devel] [PATCH v5 05/10] xen/arm: nr_lrs should be uint8_t X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: stefano.stabellini@eu.citrix.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.173 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 List-Archive: Signed-off-by: Stefano Stabellini Acked-by: Julien Grall --- 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 3262db3..5cdcd15 100644 --- a/xen/arch/arm/gic.c +++ b/xen/arch/arm/gic.c @@ -56,7 +56,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); -static unsigned nr_lrs; +static uint8_t nr_lrs; #define lr_all_full() (this_cpu(lr_mask) == ((1 << nr_lrs) - 1)) /* The GIC mapping of CPU interfaces does not necessarily match the