summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/i8253.c
diff options
context:
space:
mode:
authorWu Zhangjin <wuzhangjin@gmail.com>2009-10-08 15:17:54 +0200
committerRalf Baechle <ralf@linux-mips.org>2009-11-02 12:00:02 +0100
commitf45e5183618e41e3c8dbf87b74dc47d0c531462a (patch)
tree68cd82be2c3530057d905e48d39f07519656c5fe /arch/mips/kernel/i8253.c
parentMIPS: Loongson: Remove redundant local_irq_disable() (diff)
downloadlinux-f45e5183618e41e3c8dbf87b74dc47d0c531462a.tar.xz
linux-f45e5183618e41e3c8dbf87b74dc47d0c531462a.zip
MIPS: Add IRQF_TIMER flag for timer interrupts
Along the lines of d6c585a4342a2ff627a29f9aea77c5ed4cd76023, add IRQF_TIMER flag for all timer interrupts This ensures that timer interrupts won't be disabled on suspend and not threaded for PREEMPT_RT. Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/i8253.c')
-rw-r--r--arch/mips/kernel/i8253.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/i8253.c b/arch/mips/kernel/i8253.c
index f7d8d5d0ddbf..ed5c441615e4 100644
--- a/arch/mips/kernel/i8253.c
+++ b/arch/mips/kernel/i8253.c
@@ -98,7 +98,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
static struct irqaction irq0 = {
.handler = timer_interrupt,
- .flags = IRQF_DISABLED | IRQF_NOBALANCING,
+ .flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_TIMER,
.name = "timer"
};