|
@@ -544,7 +544,7 @@ static int find_irq_by_gsi(unsigned gsi)
|
|
|
* event channel until the irq actually started up. Return an
|
|
|
* existing irq if we've already got one for the gsi.
|
|
|
*/
|
|
|
-int xen_allocate_pirq(unsigned gsi)
|
|
|
+int xen_allocate_pirq(unsigned gsi, char *name)
|
|
|
{
|
|
|
int irq;
|
|
|
struct physdev_irq irq_op;
|
|
@@ -566,7 +566,7 @@ int xen_allocate_pirq(unsigned gsi)
|
|
|
irq = find_unbound_irq();
|
|
|
|
|
|
set_irq_chip_and_handler_name(irq, &xen_pirq_chip,
|
|
|
- handle_level_irq, "pirq");
|
|
|
+ handle_level_irq, name);
|
|
|
|
|
|
irq_op.irq = irq;
|
|
|
if (HYPERVISOR_physdev_op(PHYSDEVOP_alloc_irq_vector, &irq_op)) {
|