SH: irq: Remove IRQF_DISABLED
Since commit [e58aa3d2
: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled and we even check and yell when an interrupt handler returns with interrupts enabled (see commit [b738a50a
: genirq: Warn when handler enables interrupts]). So now this flag is a NOOP and can be removed. Signed-off-by: Yong Zhang <yong.zhang0@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
此提交包含在:
@@ -41,8 +41,7 @@ static int __init eraseconfig_init(void)
|
||||
printk("SnapGear: EraseConfig init\n");
|
||||
|
||||
/* Setup "EraseConfig" switch on external IRQ 0 */
|
||||
if (request_irq(irq, eraseconfig_interrupt, IRQF_DISABLED,
|
||||
"Erase Config", NULL))
|
||||
if (request_irq(irq, eraseconfig_interrupt, 0, "Erase Config", NULL))
|
||||
printk("SnapGear: failed to register IRQ%d for Reset witch\n",
|
||||
irq);
|
||||
else
|
||||
|
新增問題並參考
封鎖使用者