diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-03-05 00:34:32 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2014-03-13 07:22:39 -0400 |
commit | 242c04bc4be959ae28618772e439c27e87a7d880 (patch) | |
tree | 62d7ad4f798ba9ceac464b2806b5f06dcd28fe66 /arch/arm64 | |
parent | 5f888a1d33c48900012e6b4c18296ce7c715dc6c (diff) |
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>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/kernel/debug-monitors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/kernel/debug-monitors.c b/arch/arm64/kernel/debug-monitors.c index 13f87def8ea1..14ba23c61153 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) | |||
189 | 189 | ||
190 | /* EL1 Single Step Handler hooks */ | 190 | /* EL1 Single Step Handler hooks */ |
191 | static LIST_HEAD(step_hook); | 191 | static LIST_HEAD(step_hook); |
192 | DEFINE_RWLOCK(step_hook_lock); | 192 | static DEFINE_RWLOCK(step_hook_lock); |
193 | 193 | ||
194 | void register_step_hook(struct step_hook *hook) | 194 | void register_step_hook(struct step_hook *hook) |
195 | { | 195 | { |
@@ -276,7 +276,7 @@ static int single_step_handler(unsigned long addr, unsigned int esr, | |||
276 | * Use reader/writer locks instead of plain spinlock. | 276 | * Use reader/writer locks instead of plain spinlock. |
277 | */ | 277 | */ |
278 | static LIST_HEAD(break_hook); | 278 | static LIST_HEAD(break_hook); |
279 | DEFINE_RWLOCK(break_hook_lock); | 279 | static DEFINE_RWLOCK(break_hook_lock); |
280 | 280 | ||
281 | void register_break_hook(struct break_hook *hook) | 281 | void register_break_hook(struct break_hook *hook) |
282 | { | 282 | { |