From: Adrian Bunk Date: Thu, 16 Oct 2008 05:05:20 +0000 (-0700) Subject: make kprobes.c:kretprobe_table_lock() static X-Git-Tag: v2.6.28-rc1~295 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2b252c541158cfed9d7e5b019b894fe2174f5908;p=linux-2.6-omap-h63xx.git make kprobes.c:kretprobe_table_lock() static Make the needlessly global kretprobe_table_lock() static. Signed-off-by: Adrian Bunk Acked-by: Ananth N Mavinakayanahalli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/kprobes.c b/kernel/kprobes.c index 75bc2cd9ebc..8b57a2597f2 100644 --- 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);