aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/lockdep.c
diff options
context:
space:
mode:
authorJohn Kacur <jkacur@redhat.com>2010-08-05 11:10:53 -0400
committerIngo Molnar <mingo@elte.hu>2010-08-17 03:11:10 -0400
commitf1b499f029c5dde85d46a8811353c62f29157541 (patch)
tree50e49c147c77c39c52dc59dbd6a2a9c1e70793a7 /kernel/lockdep.c
parentda5cabf80e2433131bf0ed8993abc0f7ea618c73 (diff)
lockdep: Remove __debug_show_held_locks
There is no longer any functional difference between __debug_show_held_locks() and debug_show_held_locks(), so remove the former. Signed-off-by: John Kacur <jkacur@redhat.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1281021054-4228-1-git-send-email-jkacur@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/lockdep.c')
-rw-r--r--kernel/lockdep.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c
index f2852a510232..84baa71cfda5 100644
--- a/kernel/lockdep.c
+++ b/kernel/lockdep.c
@@ -3775,7 +3775,7 @@ EXPORT_SYMBOL_GPL(debug_show_all_locks);
3775 * Careful: only use this function if you are sure that 3775 * Careful: only use this function if you are sure that
3776 * the task cannot run in parallel! 3776 * the task cannot run in parallel!
3777 */ 3777 */
3778void __debug_show_held_locks(struct task_struct *task) 3778void debug_show_held_locks(struct task_struct *task)
3779{ 3779{
3780 if (unlikely(!debug_locks)) { 3780 if (unlikely(!debug_locks)) {
3781 printk("INFO: lockdep is turned off.\n"); 3781 printk("INFO: lockdep is turned off.\n");
@@ -3783,12 +3783,6 @@ void __debug_show_held_locks(struct task_struct *task)
3783 } 3783 }
3784 lockdep_print_held_locks(task); 3784 lockdep_print_held_locks(task);
3785} 3785}
3786EXPORT_SYMBOL_GPL(__debug_show_held_locks);
3787
3788void debug_show_held_locks(struct task_struct *task)
3789{
3790 __debug_show_held_locks(task);
3791}
3792EXPORT_SYMBOL_GPL(debug_show_held_locks); 3786EXPORT_SYMBOL_GPL(debug_show_held_locks);
3793 3787
3794void lockdep_sys_exit(void) 3788void lockdep_sys_exit(void)