diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-10-16 07:05:20 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 20:21:52 +0200 |
commit | 2b252c541158cfed9d7e5b019b894fe2174f5908 (patch) | |
tree | cb8f3ea21027f54b1fd54dce51dc47a1ec62b3d0 /kernel | |
parent | make hp_wmi_notify() static (diff) | |
download | linux-2b252c541158cfed9d7e5b019b894fe2174f5908.tar.xz linux-2b252c541158cfed9d7e5b019b894fe2174f5908.zip |
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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/kprobes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kprobes.c b/kernel/kprobes.c index 75bc2cd9ebc6..8b57a2597f21 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); |