Commit 04479b1c authored by Thomas Gleixner's avatar Thomas Gleixner

genirq: disable random call on preempt-rt

The random call introduces high latencies and is almost
unused. Disable it for -rt.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 8baf330d
......@@ -420,8 +420,11 @@ irqreturn_t handle_IRQ_event(unsigned int irq, struct irqaction *action)
action = action->next;
} while (action);
#ifndef CONFIG_PREEMPT_RT
/* FIXME: Can we unbreak that ? */
if (status & IRQF_SAMPLE_RANDOM)
add_interrupt_randomness(irq);
#endif
local_irq_disable();
return retval;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment