From: Ian Campbell Date: Tue, 24 Nov 2009 10:16:23 +0000 (+0000) Subject: xen: register timer interrupt with IRQF_TIMER X-Git-Tag: v2.6.32.2~63 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d7b1aedc1a241dcde39a8a35757b6b0797eac5ff;p=karo-tx-linux.git xen: register timer interrupt with IRQF_TIMER commit f350c7922faad3397c98c81a9e5658f5a1ef0214 upstream. Otherwise the timer is disabled by dpm_suspend_noirq() which in turn prevents correct operation of stop_machine on multi-processor systems and breaks suspend. Signed-off-by: Ian Campbell Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c index 6bbff94328d2..9d1f853120d8 100644 --- a/arch/x86/xen/time.c +++ b/arch/x86/xen/time.c @@ -434,7 +434,7 @@ void xen_setup_timer(int cpu) name = ""; irq = bind_virq_to_irqhandler(VIRQ_TIMER, cpu, xen_timer_interrupt, - IRQF_DISABLED|IRQF_PERCPU|IRQF_NOBALANCING, + IRQF_DISABLED|IRQF_PERCPU|IRQF_NOBALANCING|IRQF_TIMER, name, NULL); evt = &per_cpu(xen_clock_events, cpu);