Commit 6d97e6ac authored by Thomas Gleixner's avatar Thomas Gleixner

genirq: Exclude PER_CPU interrupts from forced threading

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 9d45cc17
......@@ -470,7 +470,7 @@ static irqreturn_t irq_nested_primary_handler(int irq, void *dev_id)
*/
static void preempt_hardirq_setup(struct irqaction *new)
{
if (new->thread_fn || (new->flags & IRQF_NODELAY))
if (new->thread_fn || (new->flags & (IRQF_NODELAY | IRQF_PERCPU)))
return;
new->flags |= IRQF_ONESHOT;
......
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