summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-17 16:51:23 (GMT)
committerScott Wood <scottwood@freescale.com>2015-02-13 22:20:39 (GMT)
commitaab3243c37718e0125ffff7f394b623a33e87a58 (patch)
treec5fcdacd2102dca821c8b0d2c0ad5b96d2a307bb /kernel
parentc63d9c27c282777f892d282b3b0819ce58854f90 (diff)
downloadlinux-fsl-qoriq-aab3243c37718e0125ffff7f394b623a33e87a58.tar.xz
lockdep-rt.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel')
-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);