diff options
Diffstat (limited to 'kernel/irq_work.c')
-rw-r--r-- | kernel/irq_work.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/irq_work.c b/kernel/irq_work.c index c3c46c72046e..727ba59e38f9 100644 --- a/kernel/irq_work.c +++ b/kernel/irq_work.c @@ -105,8 +105,10 @@ void irq_work_run(void) if (llist_empty(this_list)) return; +#ifndef CONFIG_PREEMPT_RT_FULL BUG_ON(!in_irq()); BUG_ON(!irqs_disabled()); +#endif llnode = llist_del_all(this_list); while (llnode != NULL) { |