diff options
author | Wu Zhangjin <wuzhangjin@gmail.com> | 2009-10-08 15:17:54 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-11-02 12:00:02 +0100 |
commit | f45e5183618e41e3c8dbf87b74dc47d0c531462a (patch) | |
tree | 68cd82be2c3530057d905e48d39f07519656c5fe /arch/mips/kernel/i8253.c | |
parent | MIPS: Loongson: Remove redundant local_irq_disable() (diff) | |
download | linux-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.c | 2 |
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" }; |