]> git.baikalelectronics.ru Git - kernel.git/commit
xen/events: allow setup of irq_info to fail
authorDavid Vrabel <david.vrabel@citrix.com>
Mon, 18 Mar 2013 15:50:17 +0000 (15:50 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 6 Jan 2014 15:07:44 +0000 (10:07 -0500)
commit7469afb75ac689e08adde72616e4e7ff890bc093
tree978093091e68ff210b7c1c2bc7cfbeb336604c7f
parentd833b9f380e167410b3db38a08c1bf6b4d46c569
xen/events: allow setup of irq_info to fail

The FIFO-based event ABI requires additional setup of newly bound
events (it may need to expand the event array) and this setup may
fail.

xen_irq_info_common_init() is a useful place to put this setup so
allow this call to fail.  This call and the other similar calls are
renamed to be *_setup() to reflect that they may now fail.

This failure can only occur with new event channels not on rebind.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/events/events_base.c