summaryrefslogtreecommitdiff
path: root/kernel/lockdep.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-17 16:51:23 (GMT)
committerScott Wood <scottwood@freescale.com>2014-04-10 00:19:20 (GMT)
commit469206117d04faef147507d77d36e99c05671f8a (patch)
tree32ba7024ade0438360b7f6e9278e99e0ccc79f74 /kernel/lockdep.c
parent0be6e65c2f57d62663e4df7a516686aa421f5f89 (diff)
downloadlinux-fsl-qoriq-469206117d04faef147507d77d36e99c05671f8a.tar.xz
lockdep-rt.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/lockdep.c')
-rw-r--r--kernel/lockdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c
index e16c45b..b74f7a5 100644
--- a/kernel/lockdep.c
+++ b/kernel/lockdep.c
@@ -3541,6 +3541,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
@@ -3555,6 +3556,7 @@ static void check_flags(unsigned long flags)
DEBUG_LOCKS_WARN_ON(!current->softirqs_enabled);
}
}
+#endif
if (!debug_locks)
print_irqtrace_events(current);