aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/xen/events.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index e828456777e5..a40b2a1c6255 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -568,9 +568,9 @@ static int find_irq_by_gsi(unsigned gsi)
568 return -1; 568 return -1;
569} 569}
570 570
571int xen_allocate_pirq(unsigned gsi, int shareable, char *name) 571int xen_allocate_pirq_gsi(unsigned gsi)
572{ 572{
573 return xen_map_pirq_gsi(gsi, gsi, shareable, name); 573 return gsi;
574} 574}
575 575
576/* 576/*
@@ -580,7 +580,8 @@ int xen_allocate_pirq(unsigned gsi, int shareable, char *name)
580 * Note: We don't assign an event channel until the irq actually started 580 * Note: We don't assign an event channel until the irq actually started
581 * up. Return an existing irq if we've already got one for the gsi. 581 * up. Return an existing irq if we've already got one for the gsi.
582 */ 582 */
583int xen_map_pirq_gsi(unsigned pirq, unsigned gsi, int shareable, char *name) 583int xen_bind_pirq_gsi_to_irq(unsigned gsi,
584 unsigned pirq, int shareable, char *name)
584{ 585{
585 int irq = -1; 586 int irq = -1;
586 struct physdev_irq irq_op; 587 struct physdev_irq irq_op;