aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen/events.c')
-rw-r--r--drivers/xen/events.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index accb37ad0944..c8826b5142c4 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -555,23 +555,6 @@ static void ack_pirq(unsigned int irq)
555 } 555 }
556} 556}
557 557
558static void end_pirq(unsigned int irq)
559{
560 int evtchn = evtchn_from_irq(irq);
561 struct irq_desc *desc = irq_to_desc(irq);
562
563 if (WARN_ON(!desc))
564 return;
565
566 if ((desc->status & (IRQ_DISABLED|IRQ_PENDING)) ==
567 (IRQ_DISABLED|IRQ_PENDING)) {
568 shutdown_pirq(irq);
569 } else if (VALID_EVTCHN(evtchn)) {
570 unmask_evtchn(evtchn);
571 pirq_unmask_notify(irq);
572 }
573}
574
575static int find_irq_by_gsi(unsigned gsi) 558static int find_irq_by_gsi(unsigned gsi)
576{ 559{
577 int irq; 560 int irq;
@@ -1508,7 +1491,6 @@ static struct irq_chip xen_pirq_chip __read_mostly = {
1508 .mask = disable_pirq, 1491 .mask = disable_pirq,
1509 1492
1510 .ack = ack_pirq, 1493 .ack = ack_pirq,
1511 .end = end_pirq,
1512 1494
1513 .set_affinity = set_affinity_irq, 1495 .set_affinity = set_affinity_irq,
1514 1496