From patchwork Wed Mar 5 05:34:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3770741 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F36639F376 for ; Wed, 5 Mar 2014 05:35:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2476220221 for ; Wed, 5 Mar 2014 05:35:11 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CC2D820219 for ; Wed, 5 Mar 2014 05:35:08 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WL4Tw-0007g7-Ed; Wed, 05 Mar 2014 05:35:04 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WL4Tu-0002zF-6P; Wed, 05 Mar 2014 05:35:02 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WL4Tp-0002y6-Rp for linux-arm-kernel@lists.infradead.org; Wed, 05 Mar 2014 05:34:59 +0000 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N1Y008EN7HL95D0@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 05 Mar 2014 14:34:33 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 5F.1E.12635.967B6135; Wed, 05 Mar 2014 14:34:33 +0900 (KST) X-AuditID: cbfee68d-b7fcd6d00000315b-8e-5316b7690c6d Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 2C.43.29263.967B6135; Wed, 05 Mar 2014 14:34:33 +0900 (KST) Received: from DOJG1HAN03 ([12.36.166.146]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N1Y000GR7HK97L0@mmp1.samsung.com>; Wed, 05 Mar 2014 14:34:33 +0900 (KST) From: Jingoo Han To: 'Catalin Marinas' Subject: [PATCH 1/2] arm64: debug: make local symbols static Date: Wed, 05 Mar 2014 14:34:32 +0900 Message-id: <000001cf3834$9667e5c0$c337b140$%han@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac84NJX+zPdI34ebTuaBGg72ArH9Jw== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLIsWRmVeSWpSXmKPExsVy+t8zI93M7WLBBveeCVi8X9bDaHF54SVW i02Pr7FavPx4gsWBxWPNvDWMHpuX1Hv0bVnFGMAcxWWTkpqTWZZapG+XwJXx5FtBwSSOip9t XewNjJ/Zuhg5OSQETCSOrZ7FAmGLSVy4tx4ozsUhJLCMUaLlwmdGmKLdx+exgthCAosYJc5v 0YAo+s0o8fLjHSaQBJuAmsSXL4fZQWwRAX2J96cXA03l4GAWKJZ42W8CEhYWsJE4cX8BWAmL gKrEwS/dYEfwCthK3LzRzwhhC0r8mHwP7CBmAS2J9TuPM0HY8hKb17xlBhkpIaAu8eivLogp IqAn0b/bAKJCRGLfi3eMIJdJCKxil+g9NpENYpWAxLfJh1ggWmUlNh1ghvhKUuLgihssExjF ZiFZPAvJ4llIFs9C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PPD9fTaP21 s3SXel1gnptC6qs5Jglvp3hcDloaw+UfbnVomnJIcUS39/Sf+ToK7f6+DanzI21sEuXf1B6I +FruaW/v222R+PjQUymzQ1ejectrWjedlds1f+euN/a5C7y7TBJcMrhPn0+crsRSnJFoqMVc VJwIABCSYqAdAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140305_003458_153564_B6BDDDBF X-CRM114-Status: UNSURE ( 9.71 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.9 (------) Cc: 'Jingoo Han' , 'Will Deacon' , linux-arm-kernel@lists.infradead.org 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Make local symbols static, because these are used only in this file. Signed-off-by: Jingoo Han --- arch/arm64/kernel/debug-monitors.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/kernel/debug-monitors.c b/arch/arm64/kernel/debug-monitors.c index 13f87de..14ba23c 100644 --- a/arch/arm64/kernel/debug-monitors.c +++ b/arch/arm64/kernel/debug-monitors.c @@ -189,7 +189,7 @@ static void clear_regs_spsr_ss(struct pt_regs *regs) /* EL1 Single Step Handler hooks */ static LIST_HEAD(step_hook); -DEFINE_RWLOCK(step_hook_lock); +static DEFINE_RWLOCK(step_hook_lock); void register_step_hook(struct step_hook *hook) { @@ -276,7 +276,7 @@ static int single_step_handler(unsigned long addr, unsigned int esr, * Use reader/writer locks instead of plain spinlock. */ static LIST_HEAD(break_hook); -DEFINE_RWLOCK(break_hook_lock); +static DEFINE_RWLOCK(break_hook_lock); void register_break_hook(struct break_hook *hook) {