Commit a3b975c4 authored by Thomas Gleixner's avatar Thomas Gleixner

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: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent c442b806
...@@ -585,7 +585,7 @@ static void ack_pirq(struct irq_data *data) ...@@ -585,7 +585,7 @@ static void ack_pirq(struct irq_data *data)
{ {
int evtchn = evtchn_from_irq(data->irq); int evtchn = evtchn_from_irq(data->irq);
move_native_irq(data->irq); irq_move_irq(data);
if (VALID_EVTCHN(evtchn)) { if (VALID_EVTCHN(evtchn)) {
mask_evtchn(evtchn); mask_evtchn(evtchn);
...@@ -1339,7 +1339,7 @@ static void ack_dynirq(struct irq_data *data) ...@@ -1339,7 +1339,7 @@ static void ack_dynirq(struct irq_data *data)
{ {
int evtchn = evtchn_from_irq(data->irq); int evtchn = evtchn_from_irq(data->irq);
move_masked_irq(data->irq); irq_move_masked_irq(data);
if (VALID_EVTCHN(evtchn)) if (VALID_EVTCHN(evtchn))
unmask_evtchn(evtchn); unmask_evtchn(evtchn);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment