ia64/xen-unstable

changeset 3292:89eb81aebc69

bitkeeper revision 1.1159.1.485 (41c1a674gZukh01k-Bzk58RO8w0voQ)

Don't bind a misdirect virq handler.
author cl349@arcadians.cl.cam.ac.uk
date Thu Dec 16 15:15:00 2004 +0000 (2004-12-16)
parents 37cb59b9ddfd
children 5de01047a378
files linux-2.6.9-xen-sparse/arch/xen/kernel/evtchn.c
line diff
     1.1 --- a/linux-2.6.9-xen-sparse/arch/xen/kernel/evtchn.c	Thu Dec 16 15:04:02 2004 +0000
     1.2 +++ b/linux-2.6.9-xen-sparse/arch/xen/kernel/evtchn.c	Thu Dec 16 15:15:00 2004 +0000
     1.3 @@ -476,27 +476,6 @@ static struct hw_interrupt_type pirq_typ
     1.4      NULL
     1.5  };
     1.6  
     1.7 -static irqreturn_t misdirect_interrupt(int irq, void *dev_id,
     1.8 -                                       struct pt_regs *regs)
     1.9 -{
    1.10 -    /* nothing */
    1.11 -    return IRQ_HANDLED;
    1.12 -}
    1.13 -
    1.14 -static struct irqaction misdirect_action = {
    1.15 -    misdirect_interrupt, 
    1.16 -    SA_INTERRUPT, 
    1.17 -    CPU_MASK_NONE, 
    1.18 -    "misdirect", 
    1.19 -    NULL, 
    1.20 -    NULL
    1.21 -};
    1.22 -
    1.23 -void setup_misdirect_virq(void)
    1.24 -{
    1.25 -    (void)setup_irq(bind_virq_to_irq(VIRQ_MISDIRECT), &misdirect_action);
    1.26 -}
    1.27 -
    1.28  void irq_suspend(void)
    1.29  {
    1.30      int pirq, virq, irq, evtchn;
    1.31 @@ -599,8 +578,6 @@ void __init init_IRQ(void)
    1.32          irq_desc[pirq_to_irq(i)].handler = &pirq_type;
    1.33      }
    1.34  
    1.35 -    (void)setup_misdirect_virq();
    1.36 -
    1.37      /* This needs to be done early, but after the IRQ subsystem is alive. */
    1.38      ctrl_if_init();
    1.39  }