ia64/xen-unstable

changeset 1314:33e86963d2a4

bitkeeper revision 1.874 (408808d0T9IfojQOKayZ-Kw-GYP94A)

Fix event-channel suspend/resume.
author kaf24@scramble.cl.cam.ac.uk
date Thu Apr 22 18:02:56 2004 +0000 (2004-04-22)
parents bbc618396572
children a823ac69d295
files xenolinux-2.4.26-sparse/arch/xen/kernel/evtchn.c
line diff
     1.1 --- a/xenolinux-2.4.26-sparse/arch/xen/kernel/evtchn.c	Thu Apr 22 17:51:22 2004 +0000
     1.2 +++ b/xenolinux-2.4.26-sparse/arch/xen/kernel/evtchn.c	Thu Apr 22 18:02:56 2004 +0000
     1.3 @@ -355,8 +355,7 @@ static struct irqaction misdirect_action
     1.4  
     1.5  void irq_suspend(void)
     1.6  {
     1.7 -    evtchn_op_t op;
     1.8 -    int         virq, irq, evtchn;
     1.9 +    int virq, irq, evtchn;
    1.10  
    1.11      /* Unbind VIRQs from event channels. */
    1.12      for ( virq = 0; virq < NR_VIRQS; virq++ )
    1.13 @@ -365,13 +364,6 @@ void irq_suspend(void)
    1.14              continue;
    1.15          evtchn = irq_to_evtchn[irq];
    1.16  
    1.17 -        /* Inform Xen that we are unbinding. */
    1.18 -        op.cmd          = EVTCHNOP_close;
    1.19 -        op.u.close.dom  = DOMID_SELF;
    1.20 -        op.u.close.port = evtchn;
    1.21 -        if ( HYPERVISOR_event_channel_op(&op) != 0 )
    1.22 -            panic("Failed to unbind virtual IRQ %d\n", virq);
    1.23 -
    1.24          /* Mark the event channel as unused in our table. */
    1.25          evtchn_to_irq[evtchn] = -1;
    1.26          irq_to_evtchn[irq]    = -1;