aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/xen/events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index 2811bb988ea0..0009e489272c 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -423,7 +423,7 @@ static int find_unbound_irq(void)
423 if (irq == start) 423 if (irq == start)
424 goto no_irqs; 424 goto no_irqs;
425 425
426 res = irq_alloc_desc_at(irq, 0); 426 res = irq_alloc_desc_at(irq, -1);
427 427
428 if (WARN_ON(res != irq)) 428 if (WARN_ON(res != irq))
429 return -1; 429 return -1;
@@ -630,7 +630,7 @@ int xen_map_pirq_gsi(unsigned pirq, unsigned gsi, int shareable, char *name)
630 if (identity_mapped_irq(gsi) || (!xen_initial_domain() && 630 if (identity_mapped_irq(gsi) || (!xen_initial_domain() &&
631 xen_pv_domain())) { 631 xen_pv_domain())) {
632 irq = gsi; 632 irq = gsi;
633 irq_alloc_desc_at(irq, 0); 633 irq_alloc_desc_at(irq, -1);
634 } else 634 } else
635 irq = find_unbound_irq(); 635 irq = find_unbound_irq();
636 636