]> Pileus Git - ~andy/linux/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)
commit96d4c5881806ebb993a3d84991af9c96fa9cd576
tree978093091e68ff210b7c1c2bc7cfbeb336604c7f
parentab9a1cca3d172876ae9d5edb63abce7986045597
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