mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Tested-by: Annie Li <[email protected]> Cc: <[email protected]> Signed-off-by: David Vrabel <[email protected]>
This commit is contained in:
parent
b9d934f27c
commit
16e6bd5970
1 changed files with 1 additions and 1 deletions
|
|
@ -529,8 +529,8 @@ static unsigned int __startup_pirq(unsigned int irq)
|
|||
if (rc)
|
||||
goto err;
|
||||
|
||||
bind_evtchn_to_cpu(evtchn, 0);
|
||||
info->evtchn = evtchn;
|
||||
bind_evtchn_to_cpu(evtchn, 0);
|
||||
|
||||
rc = xen_evtchn_port_setup(info);
|
||||
if (rc)
|
||||
|
|
|
|||
Loading…
Reference in a new issue