]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - kernel/locking/lockdep.c
Apply preempt_rt patch-4.9-rt1.patch.xz
[zynq/linux.git] / kernel / locking / lockdep.c
index 4d7ffc0a0d0069af114da7c795967d695a135e14..9e52009c192e8857015faafa46240f65b7d005b2 100644 (file)
@@ -3689,6 +3689,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
@@ -3703,6 +3704,7 @@ static void check_flags(unsigned long flags)
                        DEBUG_LOCKS_WARN_ON(!current->softirqs_enabled);
                }
        }
+#endif
 
        if (!debug_locks)
                print_irqtrace_events(current);