x86: Add IRQF_TIMER to legacy x86 timer interrupt descriptors

Right now nobody cares, but the suspend/resume code will eventually want
to suspend device interrupts without suspending the timer, and will
depend on this flag to know.

The modern x86 timer infrastructure uses the local APIC timers and never
shows up as a device interrupt at all, so it isn't affected and doesn't
need any of this.

Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

+4 -4
+1 -1
arch/x86/kernel/time_64.c
··· 115 115 116 116 static struct irqaction irq0 = { 117 117 .handler = timer_interrupt, 118 - .flags = IRQF_DISABLED | IRQF_IRQPOLL | IRQF_NOBALANCING, 118 + .flags = IRQF_DISABLED | IRQF_IRQPOLL | IRQF_NOBALANCING | IRQF_TIMER, 119 119 .mask = CPU_MASK_NONE, 120 120 .name = "timer" 121 121 };
+1 -1
arch/x86/kernel/vmiclock_32.c
··· 202 202 static struct irqaction vmi_clock_action = { 203 203 .name = "vmi-timer", 204 204 .handler = vmi_timer_interrupt, 205 - .flags = IRQF_DISABLED | IRQF_NOBALANCING, 205 + .flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_TIMER, 206 206 .mask = CPU_MASK_ALL, 207 207 }; 208 208
+1 -1
arch/x86/mach-default/setup.c
··· 96 96 97 97 static struct irqaction irq0 = { 98 98 .handler = timer_interrupt, 99 - .flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_IRQPOLL, 99 + .flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_IRQPOLL | IRQF_TIMER, 100 100 .mask = CPU_MASK_NONE, 101 101 .name = "timer" 102 102 };
+1 -1
arch/x86/mach-voyager/setup.c
··· 56 56 57 57 static struct irqaction irq0 = { 58 58 .handler = timer_interrupt, 59 - .flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_IRQPOLL, 59 + .flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_IRQPOLL | IRQF_TIMER, 60 60 .mask = CPU_MASK_NONE, 61 61 .name = "timer" 62 62 };