diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-07-17 18:51:23 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-02-15 10:32:51 -0600 |
commit | 7695131363e4188440a4e5b19b6e0a62fc6ed1b2 (patch) | |
tree | 75fe90e9ac9a239b570c1a1e2c18c636c977afb2 /kernel | |
parent | 0c4eef4523a72d099e3d726e4f3f842f4f461094 (diff) |
lockdep-rt.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/lockdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c index b2e08c932d91..334d3c037b34 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c @@ -3494,6 +3494,7 @@ static void check_flags(unsigned long flags) } } +#ifndef CONFIG_PREEMPT_RT_FULL /* * We dont accurately track softirq state in e.g. * hardirq contexts (such as on 4KSTACKS), so only @@ -3508,6 +3509,7 @@ static void check_flags(unsigned long flags) DEBUG_LOCKS_WARN_ON(!current->softirqs_enabled); } } +#endif if (!debug_locks) print_irqtrace_events(current); |