]> git.karo-electronics.de Git - karo-tx-linux.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)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 11 Nov 2013 11:50:47 +0000 (11:50 +0000)
commit4eb94f753997f872bf7876aac9a2245dc3bbd819
treefc3869e4d40006cfb04b902b2bc1b432562b1fa2
parentc34e9a50b98dfb65067c8d4e08686d7a4595d721
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