xen/events: refactor retrigger_dynirq() and resend_irq_on_evtchn()
authorDavid Vrabel <david.vrabel@citrix.com>
Tue, 12 Mar 2013 18:28:04 +0000 (18:28 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 6 Jan 2014 15:07:32 +0000 (10:07 -0500)
commit872951850666689e931e567ebdc7c483135d14cf
tree679aacb5e91a459456e9190b17db9be395538e95
parentb7ef4a6dd35d1b47db72fbd1a31c8fd0da7a74f3
xen/events: refactor retrigger_dynirq() and resend_irq_on_evtchn()

These two function did the same thing with different parameters, put
the common bits in retrigger_evtchn().

This changes the return value of resend_irq_on_evtchn() but the only
caller (in arch/ia64/xen/irq_xen.c) ignored the return value so this
is fine.

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.c