Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xen/events: Set irq_info->evtchn before binding the channel to CPU in __startup_pirq()

.. because bind_evtchn_to_cpu(evtchn, cpu) will map evtchn to
'info' and pass 'info' down to xen_evtchn_port_bind_to_cpu().

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Tested-by: Annie Li <annie.li@oracle.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>

authored by

Boris Ostrovsky and committed by
David Vrabel
16e6bd59 b9d934f2

+1 -1
+1 -1
drivers/xen/events/events_base.c
··· 529 529 if (rc) 530 530 goto err; 531 531 532 - bind_evtchn_to_cpu(evtchn, 0); 533 532 info->evtchn = evtchn; 533 + bind_evtchn_to_cpu(evtchn, 0); 534 534 535 535 rc = xen_evtchn_port_setup(info); 536 536 if (rc)