xen: close evtchn port if binding to irq fails
commitc03cebd18980114fd931e30dbaf05c5982268ea4
authorWei Liu <wei.liu2@citrix.com>
Mon, 18 Feb 2013 14:57:58 +0000 (18 14:57 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 6 Mar 2013 03:24:07 +0000 (6 03:24 +0000)
treeada8ecd068ff94a69a6d692e941efb0db5a10f0c
parentcf65e1c8b3974df5bbf5b7cfbebbd125485d3a48
xen: close evtchn port if binding to irq fails

commit e7e44e444876478d50630f57b0c31d29f6725020 upstream.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/xen/evtchn.c