MIPS: Add IRQF_TIMER flag for timer interrupts
PATCH 1/1 MIPS: Add IRQF_TIMER flag for timer interrupts
As the commit 3ee4c147 shows, we need to "Add IRQF_TIMER flag for timer interrupts", Atsushi Nemoto have reported that some other timer interrupts should be considered, Here it is.
(Hi, Ralf, if 3ee4c147 is not upstream yet, perhaps you can merge this
in)
Acked-by Thomas Gleixner <[email protected]>
Signed-off-by Wu Zhangjin <[email protected]>
--- arch/mips/kernel/cevt-bcm1480.c | 2 +- arch/mips/kernel/cevt-ds1287.c | 2 +- arch/mips/kernel/cevt-sb1250.c | 2 +- arch/mips/kernel/cevt-txx9.c | 2 +- arch/mips/nxp/pnx8550/common/int.c | 2 +- arch/mips/nxp/pnx8550/common/time.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
arch/mips/kernel/cevt-bcm1480.c +1 -1
@@ -144,7 +144,7 @@ void __cpuinit sb1480_clockevent_init(void)bcm1480_unmask_irq (cpu, irq); action->handler = sibyte_counter_handler; - action->flags =IRQF_DISABLED |IRQF_PERCPU ; + action->flags =IRQF_DISABLED |IRQF_PERCPU |IRQF_TIMER ; action->name = name; action->dev_id = cd;
arch/mips/kernel/cevt-ds1287.c +1 -1
@@ -107,7 +107,7 @@ static irqreturn_t ds1287_interrupt(int irq, void *dev_id)static struct irqaction ds1287_irqaction = { .handler = ds1287_interrupt, - .flags =IRQF_DISABLED |IRQF_PERCPU , + .flags =IRQF_DISABLED |IRQF_PERCPU |IRQF_TIMER , .name ="ds1287" , };
arch/mips/kernel/cevt-sb1250.c +1 -1
@@ -143,7 +143,7 @@ void __cpuinit sb1250_clockevent_init(void)sb1250_unmask_irq (cpu, irq); action->handler = sibyte_counter_handler; - action->flags =IRQF_DISABLED |IRQF_PERCPU ; + action->flags =IRQF_DISABLED |IRQF_PERCPU |IRQF_TIMER ; action->name = name; action->dev_id = cd;
arch/mips/kernel/cevt-txx9.c +1 -1
@@ -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 , + .flags =IRQF_DISABLED |IRQF_PERCPU |IRQF_TIMER , .name ="txx9tmr" , .dev_id = &txx9_clock_event_device, };
arch/mips/nxp/pnx8550/common/int.c +1 -1
@@ -172,7 +172,7 @@ static struct irqaction gic_action = {static struct irqaction timer_action = { .handler = no_action, - .flags =IRQF_DISABLED , + .flags =IRQF_DISABLED |IRQF_TIMER , .name ="Timer" , };
arch/mips/nxp/pnx8550/common/time.c +1 -1
@@ -72,7 +72,7 @@ static irqreturn_t monotonic_interrupt(int irq, void *dev_id)static struct irqaction monotonic_irqaction = { .handler = monotonic_interrupt, - .flags =IRQF_DISABLED , + .flags =IRQF_DISABLED |IRQF_TIMER , .name ="Monotonic timer" , };
Signature · 1 line
1.6.2.1
Ralf Baechle
AppliedQuoted 6 lines · Wu Zhangjin
As the commit
3ee4c147shows, we need to "AddIRQF_TIMERflag for timer interrupts", Atsushi Nemoto have reported that some other timer interrupts should be considered, Here it is.(Hi, Ralf, if
3ee4c147is not upstream yet, perhaps you can merge this
in)
Will do but only in the patch that goes to Linus, not for lmo.
Applied,
Ralf