From: David Vrabel Date: Mon, 23 Sep 2013 11:52:21 +0000 (+0100) Subject: xen/x86: set VIRQ_TIMER priority to maximum X-Git-Tag: v3.14-rc2~21^2~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8785c67663b6ba023c7c6d61d37d8e08c00d86a8;p=profile%2Fivi%2Fkernel-x86-ivi.git xen/x86: set VIRQ_TIMER priority to maximum Commit bee980d9e (xen/events: Handle VIRQ_TIMER before any other hardirq in event loop) effectively made the VIRQ_TIMER the highest priority event when using the 2-level ABI. Set the VIRQ_TIMER priority to the highest so this behaviour is retained when using the FIFO-based ABI. Signed-off-by: David Vrabel Reviewed-by: Konrad Rzeszutek Wilk Reviewed-by: Boris Ostrovsky --- diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c index 12a1ca7..7b78f88 100644 --- a/arch/x86/xen/time.c +++ b/arch/x86/xen/time.c @@ -446,6 +446,7 @@ void xen_setup_timer(int cpu) IRQF_PERCPU|IRQF_NOBALANCING|IRQF_TIMER| IRQF_FORCE_RESUME, name, NULL); + (void)xen_set_irq_priority(irq, XEN_IRQ_PRIORITY_MAX); memcpy(evt, xen_clockevent, sizeof(*evt));