Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5603778pxu; Thu, 22 Oct 2020 06:44:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOIYmzTIHjUDiVP0tcX7nYOIuhRylN4i+SrUbhcpa9wRbii3HPFnUO0URnBpm6P9+uNuA9 X-Received: by 2002:a17:906:48b:: with SMTP id f11mr2386547eja.293.1603374258901; Thu, 22 Oct 2020 06:44:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603374258; cv=none; d=google.com; s=arc-20160816; b=GreZgi4YaWopvddQAIelKioSIt/69Mw1ddOlYqJtIDTf+ueHOLKy9vvSKZog+kozfb UMHTYxdbXYO5awQwqD8xEIWpr6oR2CFG+ntMP+KCibL5rs0oGWJ5iSJCNYGdPt6a8aib 9dptQ3nsnwsMIweedlKI9ES8rprrEfxkPiV7dE9nxvQRoRIT3hmmB/6yHrx7+Svp09fx IzqXi8ccdZJKWprUlNaKYifMxaM7AgfKmjJMqaKDrP9RCEWfqd8JzpDwgjVM9pmhmEgO SWVlQvqMHvT/aQH7VWOIX6Bj7ygifE5UvYPqkfwyFjf43sjIkzAxniQn/bTRj/oC+b01 hbcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:cc:to:subject:from:references:in-reply-to :message-id; bh=VrIgX5nSNG5YBiXfN8oN+7OsoML62WXAtRPAVLVLczA=; b=SbhCYLOQUP4eV+dYiUGKZaf0xpuuutCZoM2JCJez26D6AXLrKTbRNAnmVHd4BQAPWn TK4i/TRQDDyuY142SgE4HaT8LpuoiYi+6wtiGvaCKQBGCFVA1XvklW9ypEJO0itsBkdy wk4ur/dmT3HPrjg1M8gz7+LnPCe+BKlSdoaGLD3sd5psz1N9Qh4FOxVl5glaU2QWrbUL 2mc3Hhev8caAWVQGOK8X7vWPR3oVhaeNIjD8o+BSxfSP4dInWNPVVy9LHZcfK9IEQKvl 6wi/+Or5geY8dwGxrbVLnOGpiJSGAOKn2ZiNPpqtKsrchKvmBsgo8B2lOz9hUtJeo1av tEBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k24si668786eds.187.2020.10.22.06.43.55; Thu, 22 Oct 2020 06:44:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2508274AbgJVG3l (ORCPT + 99 others); Thu, 22 Oct 2020 02:29:41 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:3323 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2503633AbgJVG3b (ORCPT ); Thu, 22 Oct 2020 02:29:31 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4CGyBc6hPHz9vBKh; Thu, 22 Oct 2020 08:29:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id eCxCuD1o-iMx; Thu, 22 Oct 2020 08:29:28 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4CGyBc5v9qz9vBKb; Thu, 22 Oct 2020 08:29:28 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id B255E8B805; Thu, 22 Oct 2020 08:29:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id okKauxLKSYqX; Thu, 22 Oct 2020 08:29:29 +0200 (CEST) Received: from po17688vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 7B9658B769; Thu, 22 Oct 2020 08:29:29 +0200 (CEST) Received: by po17688vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 61583667EF; Thu, 22 Oct 2020 06:29:29 +0000 (UTC) Message-Id: <054fec0c139fc4c0a306360b360784733c0a6e65.1603348103.git.christophe.leroy@csgroup.eu> In-Reply-To: <648e2448e938d52d0b5887445e018ca584edc06d.1603348103.git.christophe.leroy@csgroup.eu> References: <648e2448e938d52d0b5887445e018ca584edc06d.1603348103.git.christophe.leroy@csgroup.eu> From: Christophe Leroy Subject: [PATCH v1 04/20] powerpc/32s: Make bat_addrs[] static To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Thu, 22 Oct 2020 06:29:29 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This table is used only locally. Declare it static. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/book3s32/mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/mm/book3s32/mmu.c b/arch/powerpc/mm/book3s32/mmu.c index a59e7ec98180..eceb55c12fe9 100644 --- a/arch/powerpc/mm/book3s32/mmu.c +++ b/arch/powerpc/mm/book3s32/mmu.c @@ -40,7 +40,7 @@ static unsigned int hash_mb, hash_mb2; struct ppc_bat BATS[8][2]; /* 8 pairs of IBAT, DBAT */ -struct batrange { /* stores address ranges mapped by BATs */ +static struct batrange { /* stores address ranges mapped by BATs */ unsigned long start; unsigned long limit; phys_addr_t phys; -- 2.25.0