mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
make kprobes.c:kretprobe_table_lock() static
Make the needlessly global kretprobe_table_lock() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
88429a105e
commit
2b252c5411
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue