kernel/kernel/locking/lockdep.c
.. .. @@ -3831,6 +3831,7 @@ 3831 3831 } 3832 3832 } 3833 3833 3834 +#ifndef CONFIG_PREEMPT_RT_FULL3834 3835 /* 3835 3836 * We dont accurately track softirq state in e.g. 3836 3837 * hardirq contexts (such as on 4KSTACKS), so only .. .. @@ -3845,6 +3846,7 @@ 3845 3846 DEBUG_LOCKS_WARN_ON(!current->softirqs_enabled); 3846 3847 } 3847 3848 } 3849 +#endif3848 3850 3849 3851 if (!debug_locks) 3850 3852 print_irqtrace_events(current);