projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f888a1
)
arm64: debug: make local symbols static
author
Jingoo Han
<
[email protected]
>
Wed, 5 Mar 2014 05:34:32 +0000
(
05:34
+0000)
committer
Catalin Marinas
<
[email protected]
>
Thu, 13 Mar 2014 11:22:39 +0000
(11:22 +0000)
Make local symbols static, because these are used only in this
file.
Signed-off-by: Jingoo Han <
[email protected]
>
Signed-off-by: Catalin Marinas <
[email protected]
>
arch/arm64/kernel/debug-monitors.c
patch
|
blob
|
history
diff --git
a/arch/arm64/kernel/debug-monitors.c
b/arch/arm64/kernel/debug-monitors.c
index 13f87def8ea154b592ee01366f95da69373e93c8..14ba23c6115367b962922e5decd3afabb59e789e 100644
(file)
--- 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)
{