diff options
Diffstat (limited to 'kernel/lockdep.c')
-rw-r--r-- | kernel/lockdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c index 2594e1ce41cb..3a756ba8d5d8 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c | |||
@@ -3801,8 +3801,11 @@ void lockdep_rcu_dereference(const char *file, const int line) | |||
3801 | { | 3801 | { |
3802 | struct task_struct *curr = current; | 3802 | struct task_struct *curr = current; |
3803 | 3803 | ||
3804 | #ifndef CONFIG_PROVE_RCU_REPEATEDLY | ||
3804 | if (!debug_locks_off()) | 3805 | if (!debug_locks_off()) |
3805 | return; | 3806 | return; |
3807 | #endif /* #ifdef CONFIG_PROVE_RCU_REPEATEDLY */ | ||
3808 | /* Note: the following can be executed concurrently, so be careful. */ | ||
3806 | printk("\n===================================================\n"); | 3809 | printk("\n===================================================\n"); |
3807 | printk( "[ INFO: suspicious rcu_dereference_check() usage. ]\n"); | 3810 | printk( "[ INFO: suspicious rcu_dereference_check() usage. ]\n"); |
3808 | printk( "---------------------------------------------------\n"); | 3811 | printk( "---------------------------------------------------\n"); |