|
@@ -3775,7 +3775,7 @@ EXPORT_SYMBOL_GPL(debug_show_all_locks);
|
|
|
* Careful: only use this function if you are sure that
|
|
|
* the task cannot run in parallel!
|
|
|
*/
|
|
|
-void __debug_show_held_locks(struct task_struct *task)
|
|
|
+void debug_show_held_locks(struct task_struct *task)
|
|
|
{
|
|
|
if (unlikely(!debug_locks)) {
|
|
|
printk("INFO: lockdep is turned off.\n");
|
|
@@ -3783,12 +3783,6 @@ void __debug_show_held_locks(struct task_struct *task)
|
|
|
}
|
|
|
lockdep_print_held_locks(task);
|
|
|
}
|
|
|
-EXPORT_SYMBOL_GPL(__debug_show_held_locks);
|
|
|
-
|
|
|
-void debug_show_held_locks(struct task_struct *task)
|
|
|
-{
|
|
|
- __debug_show_held_locks(task);
|
|
|
-}
|
|
|
EXPORT_SYMBOL_GPL(debug_show_held_locks);
|
|
|
|
|
|
void lockdep_sys_exit(void)
|