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:
88429a1
)
make kprobes.c:kretprobe_table_lock() static
author
Adrian Bunk
<
[email protected]
>
Thu, 16 Oct 2008 05:05:20 +0000
(22:05 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 16 Oct 2008 18:21:52 +0000
(11:21 -0700)
Make the needlessly global kretprobe_table_lock() static.
Signed-off-by: Adrian Bunk <
[email protected]
>
Acked-by: Ananth N Mavinakayanahalli <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
kernel/kprobes.c
patch
|
blob
|
history
diff --git
a/kernel/kprobes.c
b/kernel/kprobes.c
index 75bc2cd9ebc6a7307aa15c404a914559bcab917b..8b57a2597f21fda9c9602e27028753f1f7325234 100644
(file)
--- a/
kernel/kprobes.c
+++ b/
kernel/kprobes.c
@@
-404,7
+404,7
@@
void kretprobe_hash_lock(struct task_struct *tsk,
spin_lock_irqsave(hlist_lock, *flags);
}
-void kretprobe_table_lock(unsigned long hash, unsigned long *flags)
+
static
void kretprobe_table_lock(unsigned long hash, unsigned long *flags)
{
spinlock_t *hlist_lock = kretprobe_table_lock_ptr(hash);
spin_lock_irqsave(hlist_lock, *flags);