projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9d934f
)
xen/events: Set irq_info->evtchn before binding the channel to CPU in __startup_pirq()
author
Boris Ostrovsky
<
[email protected]
>
Wed, 29 Apr 2015 21:10:15 +0000
(17:10 -0400)
committer
David Vrabel
<
[email protected]
>
Tue, 5 May 2015 17:27:14 +0000
(18:27 +0100)
.. 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]
>
drivers/xen/events/events_base.c
patch
|
blob
|
history
diff --git
a/drivers/xen/events/events_base.c
b/drivers/xen/events/events_base.c
index a1ec564d791ca0fbb55b56ff23377bae53700ec9..2b8553bd871514db8bfbd4877838c66d30f6598b 100644
(file)
--- a/
drivers/xen/events/events_base.c
+++ b/
drivers/xen/events/events_base.c
@@
-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)