From: Thomas Gleixner Date: Thu, 24 Mar 2011 20:31:25 +0000 (+0100) Subject: xen: Use new irq_move functions X-Git-Tag: v2.6.39-rc1~6^2~17 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=a3b975c49e3e21864268892760f630433d96e01a;p=~shefty%2Frdma-dev.git xen: Use new irq_move functions These functions take irq_data as an argument and avoid a redundant lookup in the sparse irq case. Signed-off-by: Thomas Gleixner Cc: Ian Campbell Cc: Jeremy Fitzhardinge Cc: Konrad Rzeszutek Wilk --- diff --git a/drivers/xen/events.c b/drivers/xen/events.c index 0e7e394e42f..036343ba204 100644 --- a/drivers/xen/events.c +++ b/drivers/xen/events.c @@ -585,7 +585,7 @@ static void ack_pirq(struct irq_data *data) { int evtchn = evtchn_from_irq(data->irq); - move_native_irq(data->irq); + irq_move_irq(data); if (VALID_EVTCHN(evtchn)) { mask_evtchn(evtchn); @@ -1339,7 +1339,7 @@ static void ack_dynirq(struct irq_data *data) { int evtchn = evtchn_from_irq(data->irq); - move_masked_irq(data->irq); + irq_move_masked_irq(data); if (VALID_EVTCHN(evtchn)) unmask_evtchn(evtchn);