diff options
Diffstat (limited to 'kernel/lockdep.c')
-rw-r--r-- | kernel/lockdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c index 7553a28b99cd..fc5d5aabd77a 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c | |||
@@ -2688,7 +2688,8 @@ __lock_release(struct lockdep_map *lock, int nested, unsigned long ip) | |||
2688 | */ | 2688 | */ |
2689 | static void check_flags(unsigned long flags) | 2689 | static void check_flags(unsigned long flags) |
2690 | { | 2690 | { |
2691 | #if defined(CONFIG_DEBUG_LOCKDEP) && defined(CONFIG_TRACE_IRQFLAGS) | 2691 | #if defined(CONFIG_PROVE_LOCKING) && defined(CONFIG_DEBUG_LOCKDEP) && \ |
2692 | defined(CONFIG_TRACE_IRQFLAGS) | ||
2692 | if (!debug_locks) | 2693 | if (!debug_locks) |
2693 | return; | 2694 | return; |
2694 | 2695 | ||