From patchwork Fri May 30 10:37:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 31169 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3F87320068 for ; Fri, 30 May 2014 10:42:14 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id id10sf6366136vcb.10 for ; Fri, 30 May 2014 03:42:13 -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:subject:date:message-id:cc :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=uI7ZKo7LzDp9pAyMYX/eBXsycayq4m2wwW5r1Dnzo+Q=; b=QLpJuS9XRmOtqTjMLx0IeUu+GD/h1zalIl0153ETqZ54KE3uPAhRoH/HXzMRPIbQCp HCWYHAi1JN6FP2B8zRbQ5pfWPxowHBEeNFLGj5SOQelKPnI4R321GcMk8868K+eJD1nH vjTK78ZvDv7b9SuFjqWfuisajd2JQ5HQuar7buUsB78cUAUWtc18jj1aRZoWe4rD6K/Y RPz83K/Nl5j2YJWVLlq4/BunEI42CkuKdl8bHM1/3vJKGcxNybkaOebE8QQjcLaQ7krC KI624OwwWhqLThf4EgKthdFja2cQ643+lmFQ+dFdfGHniVggINTuYb57Lx2UGKGyOC5X lhNA== X-Gm-Message-State: ALoCoQlB6kTAitfE0WiAINzQV+/CMupskmT6tk0SYPQKWcI7MtiWZHDiW1dE1v052Tt1JiI/812K X-Received: by 10.58.198.130 with SMTP id jc2mr6019117vec.9.1401446533866; Fri, 30 May 2014 03:42:13 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.109.247 with SMTP id l110ls929595qgf.90.gmail; Fri, 30 May 2014 03:42:13 -0700 (PDT) X-Received: by 10.52.93.132 with SMTP id cu4mr125676vdb.76.1401446533769; Fri, 30 May 2014 03:42:13 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id ir5si2677941vcb.82.2014.05.30.03.42.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 May 2014 03:42:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.174 as permitted sender) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id jw12so1894085veb.33 for ; Fri, 30 May 2014 03:42:13 -0700 (PDT) X-Received: by 10.220.95.2 with SMTP id b2mr169798vcn.61.1401446533665; Fri, 30 May 2014 03:42:13 -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.221.72 with SMTP id ib8csp101244vcb; Fri, 30 May 2014 03:42:13 -0700 (PDT) X-Received: by 10.224.124.67 with SMTP id t3mr19779904qar.70.1401446533278; Fri, 30 May 2014 03:42:13 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id u32si4951295qge.1.2014.05.30.03.42.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 May 2014 03:42:13 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WqKEh-0001bn-5y; Fri, 30 May 2014 10:40:31 +0000 Received: from mail-pb0-f46.google.com ([209.85.160.46]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WqKEd-0001aV-Uf for linux-arm-kernel@lists.infradead.org; Fri, 30 May 2014 10:40:28 +0000 Received: by mail-pb0-f46.google.com with SMTP id rq2so1587623pbb.5 for ; Fri, 30 May 2014 03:40:06 -0700 (PDT) X-Received: by 10.68.99.194 with SMTP id es2mr17238672pbb.100.1401446406695; Fri, 30 May 2014 03:40:06 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id ry10sm16856016pab.38.2014.05.30.03.40.03 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 May 2014 03:40:06 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH Resend 1/8] ARM: sti: Staticize local variables Date: Fri, 30 May 2014 16:07:34 +0530 Message-Id: <1401446261-22423-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140530_034028_005605_9A32BE46 X-CRM114-Status: GOOD ( 10.03 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.46 listed in list.dnswl.org] Cc: linux@arm.linux.org.uk, kernel@stlinux.com, arnd@arndb.de, sachin.kamat@linaro.org, Srinivas Kandagatla , Maxime Coquelin X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@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.128.174 as permitted sender) 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 Symbols local to this file are made static. Signed-off-by: Sachin Kamat Acked-by: Patrice Chotard Cc: kernel@stlinux.com Cc: Srinivas Kandagatla Cc: Maxime Coquelin --- arch/arm/mach-sti/platsmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-sti/platsmp.c b/arch/arm/mach-sti/platsmp.c index fa2c33ffac04..d4b624f8dfcb 100644 --- a/arch/arm/mach-sti/platsmp.c +++ b/arch/arm/mach-sti/platsmp.c @@ -36,7 +36,7 @@ static void write_pen_release(int val) static DEFINE_SPINLOCK(boot_lock); -void sti_secondary_init(unsigned int cpu) +static void sti_secondary_init(unsigned int cpu) { trace_hardirqs_off(); @@ -53,7 +53,7 @@ void sti_secondary_init(unsigned int cpu) spin_unlock(&boot_lock); } -int sti_boot_secondary(unsigned int cpu, struct task_struct *idle) +static int sti_boot_secondary(unsigned int cpu, struct task_struct *idle) { unsigned long timeout; @@ -97,7 +97,7 @@ int sti_boot_secondary(unsigned int cpu, struct task_struct *idle) return pen_release != -1 ? -ENOSYS : 0; } -void __init sti_smp_prepare_cpus(unsigned int max_cpus) +static void __init sti_smp_prepare_cpus(unsigned int max_cpus) { void __iomem *scu_base = NULL; struct device_node *np = of_find_compatible_node(