diff options
Diffstat (limited to 'kernel/lockdep.c')
-rw-r--r-- | kernel/lockdep.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c index 8a0efac4f99d..b1e3b9e73eee 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c @@ -4096,10 +4096,10 @@ static void print_held_locks_bug(struct task_struct *curr) return; printk("\n"); - printk("=====================================\n"); - printk("[ BUG: lock held at task exit time! ]\n"); + printk("=======================================\n"); + printk("[ BUG: lock held at exit/freeze time! ]\n"); print_kernel_ident(); - printk("-------------------------------------\n"); + printk("---------------------------------------\n"); printk("%s/%d is exiting with locks still held!\n", curr->comm, task_pid_nr(curr)); lockdep_print_held_locks(curr); @@ -4113,6 +4113,7 @@ void debug_check_no_locks_held(struct task_struct *task) if (unlikely(task->lockdep_depth > 0)) print_held_locks_bug(task); } +EXPORT_SYMBOL_GPL(debug_check_no_locks_held); void debug_show_all_locks(void) { |