aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/events.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-05 15:08:52 -0500
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-03-03 12:00:28 -0500
commit149f256f8ca690c28dd8aa9fb8bcdaf2e93b1e1c (patch)
treedf208e2e410ab6f33bcf83d65142685530c1c18a /drivers/xen/events.c
parent7214610475b2847a81478d96e4d3ba0bbe49598c (diff)
xen: Remove stale irq_chip.end
irq_chip.end got obsolete with the removal of __do_IRQ() Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
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