Skip to content

Commit

Permalink
xen: Use new irq_move functions
Browse files Browse the repository at this point in the history
These functions take irq_data as an argument and avoid a redundant
lookup in the sparse irq case.

Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Ian Campbell <[email protected]>
Cc: Jeremy Fitzhardinge <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
  • Loading branch information
KAGA-KOKO committed Mar 29, 2011
1 parent c442b80 commit a3b975c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/xen/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit a3b975c

Please sign in to comment.