diff mbox

[1/2] arm64: debug: make local symbols static

Message ID 000001cf3834$9667e5c0$c337b140$%han@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jingoo Han March 5, 2014, 5:34 a.m. UTC
Make local symbols static, because these are used only in this
file.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 arch/arm64/kernel/debug-monitors.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Catalin Marinas March 12, 2014, 6:03 p.m. UTC | #1
On Wed, Mar 05, 2014 at 05:34:32AM +0000, Jingoo Han wrote:
> Make local symbols static, because these are used only in this
> file.
> 
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>

Applied (both). Thanks.
diff mbox

Patch

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)
 {