OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 May 2015 16:55:07 +0000 (09:55 -0700)
commit76762611f64404b4e70d1f124dd896e74212722e
treed076340fad093eaa9a872a7d322f5a4e106f4e1c
parent6cd7c4aa82353a52bf3fe69ae2b99a04515fb408
xen/events: Set irq_info->evtchn before binding the channel to CPU in __startup_pirq()

commit 16e6bd5970c88a2ac018b84a5f1dd5c2ff1fdf2c upstream.

.. 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>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/xen/events/events_base.c