loongson-3/hpet.c: remove IRQF_DISABLED flag
PATCH 1/1 loongson-3/hpet.c: remove IRQF_DISABLED flag
The IRQF_DISABLED is a NOOP and scheduled to be removed. According to Ingo Molnar (e58aa3d2d0cc01ad8d6f7f640a0670433f794922) running IRQ handlers with interrupts enabled can cause stack overflows when the interrupt line of the issuing device is still active.
--- arch/mips/loongson/loongson-3/hpet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/loongson/loongson-3/hpet.c +1 -1
@@ -162,7 +162,7 @@ static irqreturn_t hpet_irq_handler(int irq, void *data)static struct irqaction hpet_irq = { .handler = hpet_irq_handler, - .flags =IRQF_DISABLED |IRQF_NOBALANCING |IRQF_TIMER , + .flags =IRQF_NOBALANCING |IRQF_TIMER , .name ="hpet" , };
Signature · 1 line
1.9.1
Hello.
Quoted 2 lines · Valentin Rothberg
The
IRQF_DISABLEDis a NOOP and scheduled to be removed. According to Ingo Molnar (e58aa3d2d0cc01ad8d6f7f640a0670433f794922) running IRQ handlers with
Please also specify that commit's summary line in parens, like this:
According to commit e58aa3d2d0cc01ad8d6f7f640a0670433f794922 (genirq: Run irq handlers with interrupts disabled)...
Quoted 4 lines
interrupts enabled can cause stack overflows when the interrupt line of the issuing device is still active.
Signed-off-by Valentin Rothberg <[email protected]>
[...]
WBR, Sergei
PATCH v2 1/1 loongson-3/hpet.c: remove IRQF_DISABLED flag
In reply to Valentin RothbergThe IRQF_DISABLED is a NOOP and scheduled to be removed. According to commit e58aa3d2d0cc (genirq: Run irq handlers with interrupts disabled) running IRQ handlers with interrupts enabled can cause stack overflows when the interrupt line of the issuing device is still active.
---
v2: Add commit summary of referenced commit.
--- arch/mips/loongson/loongson-3/hpet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/loongson/loongson-3/hpet.c +1 -1
@@ -162,7 +162,7 @@ static irqreturn_t hpet_irq_handler(int irq, void *data)static struct irqaction hpet_irq = { .handler = hpet_irq_handler, - .flags =IRQF_DISABLED |IRQF_NOBALANCING |IRQF_TIMER , + .flags =IRQF_NOBALANCING |IRQF_TIMER , .name ="hpet" , };
Signature · 1 line
1.9.1