Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312431
b: refs/heads/master
c: f841d79
h: refs/heads/master
i:
  312429: e2d1b6d
  312427: 255ef2c
  312423: 8b3301b
  312415: 1d78fed
v: v3
  • Loading branch information
Jiang Liu authored and Thomas Gleixner committed May 24, 2012
1 parent 14cb86e commit 979393c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 151766fce8bee0e3e6076c8b829f9fcc0a2412ae
refs/heads/master: f841d792e38f75f5e25b0b66f7b5d235d180a735
9 changes: 5 additions & 4 deletions trunk/arch/x86/kernel/apic/io_apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -2270,6 +2270,7 @@ ioapic_set_affinity(struct irq_data *data, const struct cpumask *mask,
/* Only the high 8 bits are valid. */
dest = SET_APIC_LOGICAL_ID(dest);
__target_IO_APIC_irq(irq, dest, data->chip_data);
ret = IRQ_SET_MASK_OK_NOCOPY;
}
raw_spin_unlock_irqrestore(&ioapic_lock, flags);
return ret;
Expand Down Expand Up @@ -3092,7 +3093,7 @@ msi_set_affinity(struct irq_data *data, const struct cpumask *mask, bool force)

__write_msi_msg(data->msi_desc, &msg);

return 0;
return IRQ_SET_MASK_OK_NOCOPY;
}
#endif /* CONFIG_SMP */

Expand Down Expand Up @@ -3214,7 +3215,7 @@ dmar_msi_set_affinity(struct irq_data *data, const struct cpumask *mask,

dmar_msi_write(irq, &msg);

return 0;
return IRQ_SET_MASK_OK_NOCOPY;
}

#endif /* CONFIG_SMP */
Expand Down Expand Up @@ -3267,7 +3268,7 @@ static int hpet_msi_set_affinity(struct irq_data *data,

hpet_msi_write(data->handler_data, &msg);

return 0;
return IRQ_SET_MASK_OK_NOCOPY;
}

#endif /* CONFIG_SMP */
Expand Down Expand Up @@ -3340,7 +3341,7 @@ ht_set_affinity(struct irq_data *data, const struct cpumask *mask, bool force)
return -1;

target_ht_irq(data->irq, dest, cfg->vector);
return 0;
return IRQ_SET_MASK_OK_NOCOPY;
}

#endif
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/platform/uv/uv_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ uv_set_irq_affinity(struct irq_data *data, const struct cpumask *mask,
if (cfg->move_in_progress)
send_cleanup_vector(cfg);

return 0;
return IRQ_SET_MASK_OK_NOCOPY;
}

/*
Expand Down

0 comments on commit 979393c

Please sign in to comment.