From patchwork Tue Jun 24 11:43:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 32410 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5D92B201EF for ; Tue, 24 Jun 2014 11:49:31 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id j17sf874701oag.8 for ; Tue, 24 Jun 2014 04:49:30 -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=8oAqpe2vllzFF7xQSED5EGPTzZdW/GtGKsCp+/ECmcE=; b=FgBmkYidiTjlNHAyIOdUVidK68jsqYsZkgUBB2jmm25JBFuzAvVb/GvI/GgfVVRcC9 rfMfjMFn33i7dEV61Axf+s5dp9SlQZCAK+V18v8baYExlHM7qZIk2aT8RvHJz6S45aRj BghzkYl4Zb7z8zjeD8ydTzI1hThzJoUm2uqb8FgLvcniKBLamMatSZ0SycPN5++7PIpt XeRirvD5V5lSTUIkUeCb3allPpDZF2tVhiGSTXN6EMEn0lgbB+8Pa39iA9+X+V4RfNyA N/NlEKa8OKCSPSjWJud84nqyP1KACcs0sU4PhZAhG0UxJt72WB8xHST2BHf80DMUP7h/ TxfA== X-Gm-Message-State: ALoCoQmxUsSFxN2/IrZk2PLnyO4Exc0KB/x78G5xhgjkTolj/OkYWJXxVlJ5TXvXzaWk48pcvvMU X-Received: by 10.182.20.17 with SMTP id j17mr232280obe.24.1403610570734; Tue, 24 Jun 2014 04:49:30 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.106.99 with SMTP id d90ls2288958qgf.57.gmail; Tue, 24 Jun 2014 04:49:30 -0700 (PDT) X-Received: by 10.220.122.132 with SMTP id l4mr187744vcr.41.1403610570650; Tue, 24 Jun 2014 04:49:30 -0700 (PDT) Received: from mail-ve0-x234.google.com (mail-ve0-x234.google.com [2607:f8b0:400c:c01::234]) by mx.google.com with ESMTPS id sd9si22156vdc.26.2014.06.24.04.49.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Jun 2014 04:49:30 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c01::234 as permitted sender) client-ip=2607:f8b0:400c:c01::234; Received: by mail-ve0-f180.google.com with SMTP id jw12so164917veb.11 for ; Tue, 24 Jun 2014 04:49:30 -0700 (PDT) X-Received: by 10.58.196.231 with SMTP id ip7mr185766vec.47.1403610570524; Tue, 24 Jun 2014 04:49:30 -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.221.37.5 with SMTP id tc5csp204057vcb; Tue, 24 Jun 2014 04:49:30 -0700 (PDT) X-Received: by 10.140.42.19 with SMTP id b19mr445809qga.109.1403610570036; Tue, 24 Jun 2014 04:49:30 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id a4si44442qar.41.2014.06.24.04.49.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jun 2014 04:49:30 -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 1WzPCU-0008RN-UQ; Tue, 24 Jun 2014 11:47:46 +0000 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WzPCR-0008Jt-8Q for linux-arm-kernel@lists.infradead.org; Tue, 24 Jun 2014 11:47:44 +0000 Received: by mail-pa0-f44.google.com with SMTP id rd3so161910pab.3 for ; Tue, 24 Jun 2014 04:47:21 -0700 (PDT) X-Received: by 10.68.181.67 with SMTP id du3mr713873pbc.96.1403610441624; Tue, 24 Jun 2014 04:47:21 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id cz3sm82058pbc.9.2014.06.24.04.47.17 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Jun 2014 04:47:20 -0700 (PDT) From: Sachin Kamat To: arnd@arndb.de Subject: [PATCH Resend 1/8] ARM: sti: Staticize local variables Date: Tue, 24 Jun 2014 17:13:48 +0530 Message-Id: <1403610235-22654-1-git-send-email-sachin.kamat@samsung.com> 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-20140624_044743_325158_238B42C3 X-CRM114-Status: GOOD ( 10.40 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2607:f8b0:400e:c03:0:0:0:22c listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (spk.linux[at]gmail.com) 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different Cc: kernel@stlinux.com, Sachin Kamat , Srinivas Kandagatla , arm@kernel.org, spk.linux@gmail.com, linux-arm-kernel@lists.infradead.org, Maxime Coquelin X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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-Original-Sender: sachin.kamat@samsung.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c01::234 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (body hash did not verify) header.i=@ Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Sachin Kamat Symbols local to this file are made static. Signed-off-by: Sachin Kamat 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(