MIPS: 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. [ralf@linux-mips.org: Fixed up conflicts in arch/mips/alchemy/common/dbdma.c, arch/mips/cavium-octeon/smp.c and arch/mips/kernel/perf_event.c.] Signed-off-by: Yong Zhang <yong.zhang0@gmail.com> To: linux-kernel@vger.kernel.org Cc: tglx@linutronix.de linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2835/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -145,7 +145,7 @@ void __cpuinit sb1480_clockevent_init(void)
|
||||
bcm1480_unmask_irq(cpu, irq);
|
||||
|
||||
action->handler = sibyte_counter_handler;
|
||||
action->flags = IRQF_DISABLED | IRQF_PERCPU | IRQF_TIMER;
|
||||
action->flags = IRQF_PERCPU | IRQF_TIMER;
|
||||
action->name = name;
|
||||
action->dev_id = cd;
|
||||
|
||||
|
@@ -108,7 +108,7 @@ static irqreturn_t ds1287_interrupt(int irq, void *dev_id)
|
||||
|
||||
static struct irqaction ds1287_irqaction = {
|
||||
.handler = ds1287_interrupt,
|
||||
.flags = IRQF_DISABLED | IRQF_PERCPU | IRQF_TIMER,
|
||||
.flags = IRQF_PERCPU | IRQF_TIMER,
|
||||
.name = "ds1287",
|
||||
};
|
||||
|
||||
|
@@ -114,7 +114,7 @@ static irqreturn_t gt641xx_timer0_interrupt(int irq, void *dev_id)
|
||||
|
||||
static struct irqaction gt641xx_timer0_irqaction = {
|
||||
.handler = gt641xx_timer0_interrupt,
|
||||
.flags = IRQF_DISABLED | IRQF_PERCPU | IRQF_TIMER,
|
||||
.flags = IRQF_PERCPU | IRQF_TIMER,
|
||||
.name = "gt641xx_timer0",
|
||||
};
|
||||
|
||||
|
@@ -84,7 +84,7 @@ out:
|
||||
|
||||
struct irqaction c0_compare_irqaction = {
|
||||
.handler = c0_compare_interrupt,
|
||||
.flags = IRQF_DISABLED | IRQF_PERCPU | IRQF_TIMER,
|
||||
.flags = IRQF_PERCPU | IRQF_TIMER,
|
||||
.name = "timer",
|
||||
};
|
||||
|
||||
|
@@ -144,7 +144,7 @@ void __cpuinit sb1250_clockevent_init(void)
|
||||
sb1250_unmask_irq(cpu, irq);
|
||||
|
||||
action->handler = sibyte_counter_handler;
|
||||
action->flags = IRQF_DISABLED | IRQF_PERCPU | IRQF_TIMER;
|
||||
action->flags = IRQF_PERCPU | IRQF_TIMER;
|
||||
action->name = name;
|
||||
action->dev_id = cd;
|
||||
|
||||
|
@@ -146,7 +146,7 @@ static irqreturn_t txx9tmr_interrupt(int irq, void *dev_id)
|
||||
|
||||
static struct irqaction txx9tmr_irq = {
|
||||
.handler = txx9tmr_interrupt,
|
||||
.flags = IRQF_DISABLED | IRQF_PERCPU | IRQF_TIMER,
|
||||
.flags = IRQF_PERCPU | IRQF_TIMER,
|
||||
.name = "txx9tmr",
|
||||
.dev_id = &txx9_clock_event_device,
|
||||
};
|
||||
|
@@ -19,7 +19,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
|
||||
|
||||
static struct irqaction irq0 = {
|
||||
.handler = timer_interrupt,
|
||||
.flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_TIMER,
|
||||
.flags = IRQF_NOBALANCING | IRQF_TIMER,
|
||||
.name = "timer"
|
||||
};
|
||||
|
||||
|
@@ -473,7 +473,6 @@ static const struct file_operations rtlx_fops = {
|
||||
|
||||
static struct irqaction rtlx_irq = {
|
||||
.handler = rtlx_interrupt,
|
||||
.flags = IRQF_DISABLED,
|
||||
.name = "RTLX",
|
||||
};
|
||||
|
||||
|
@@ -1130,7 +1130,7 @@ static void ipi_irq_dispatch(void)
|
||||
|
||||
static struct irqaction irq_ipi = {
|
||||
.handler = ipi_interrupt,
|
||||
.flags = IRQF_DISABLED | IRQF_PERCPU,
|
||||
.flags = IRQF_PERCPU,
|
||||
.name = "SMTC_IPI"
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user