[PATCH v2] Remove deprecated IRQF_DISABLED flag entirely

Tony Lindgren tony at atomide.com
Fri Mar 6 10:31:38 PST 2015


* Valentin Rothberg <valentinrothberg at gmail.com> [150305 06:24]:
> The IRQF_DISABLED is a NOOP and has been scheduled for removal since
> Linux v2.6.36 by commit 6932bf37bed4 ("genirq: Remove IRQF_DISABLED from
> core code").
> 
> 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.
> 
> This patch ends the grace period for IRQF_DISABLED (i.e., SA_INTERRUPT
> in older versions of Linux) and removes the definition and all remaining
> usages of this flag.
> 
> Signed-off-by: Valentin Rothberg <valentinrothberg at gmail.com>

Acked-by: Tony Lindgren <tony at atomide.com>



More information about the linux-mtd mailing list