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