aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/lockdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/lockdep.c')
-rw-r--r--kernel/lockdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c
index 51080807dc8c..4349e9793419 100644
--- a/kernel/lockdep.c
+++ b/kernel/lockdep.c
@@ -3806,8 +3806,11 @@ void lockdep_rcu_dereference(const char *file, const int line)
3806{ 3806{
3807 struct task_struct *curr = current; 3807 struct task_struct *curr = current;
3808 3808
3809#ifndef CONFIG_PROVE_RCU_REPEATEDLY
3809 if (!debug_locks_off()) 3810 if (!debug_locks_off())
3810 return; 3811 return;
3812#endif /* #ifdef CONFIG_PROVE_RCU_REPEATEDLY */
3813 /* Note: the following can be executed concurrently, so be careful. */
3811 printk("\n===================================================\n"); 3814 printk("\n===================================================\n");
3812 printk( "[ INFO: suspicious rcu_dereference_check() usage. ]\n"); 3815 printk( "[ INFO: suspicious rcu_dereference_check() usage. ]\n");
3813 printk( "---------------------------------------------------\n"); 3816 printk( "---------------------------------------------------\n");