xen/events: Set irq_info->evtchn before binding the channel to CPU in __startup_pirq()
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Wed, 29 Apr 2015 21:10:15 +0000 (17:10 -0400)
committerDavid Vrabel <david.vrabel@citrix.com>
Tue, 5 May 2015 17:27:14 +0000 (18:27 +0100)
commit16e6bd5970c88a2ac018b84a5f1dd5c2ff1fdf2c
treec76291583e5a735324f45d0b197a1c989556cd84
parentb9d934f27c91b878c4b2e64299d6e419a4022f8d
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>
drivers/xen/events/events_base.c