summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-03-05 05:34:32 (GMT)
committerChanho Park <chanho61.park@samsung.com>2014-04-16 12:36:50 (GMT)
commit70f745222998e0c2085127ba8c9c1bd18de2a0e2 (patch)
treedcd6f784d23b2304307b55a277ef4122156d05eb
parent290a3ddd86861ddd8299ad3884ceb59f85fc8033 (diff)
downloadlinux-3.10-70f745222998e0c2085127ba8c9c1bd18de2a0e2.zip
linux-3.10-70f745222998e0c2085127ba8c9c1bd18de2a0e2.tar.gz
linux-3.10-70f745222998e0c2085127ba8c9c1bd18de2a0e2.tar.bz2
arm64: debug: make local symbols static
Make local symbols static, because these are used only in this file. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
-rw-r--r--arch/arm64/kernel/debug-monitors.c4
1 files 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)
{