From 2a3075de060fe13123990ee3387f648a6f51081e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 18:51:23 +0200 Subject: lockdep-rt.patch Signed-off-by: Thomas Gleixner --- kernel/lockdep.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel/lockdep.c') 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); -- cgit v1.2.3