diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-10-08 21:40:23 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-10-12 16:53:38 +0200 |
commit | f7e909eae444ff733ecc5628af76d89c363ab480 (patch) | |
tree | dca76cd20bd6fe498b9610fce25be0b45618269a /arch/x86/kernel/uv_irq.c | |
parent | 60c69948e5b6357ac0d5ef2a2d0ce31c173c3c64 (diff) | |
download | op-kernel-dev-f7e909eae444ff733ecc5628af76d89c363ab480.zip op-kernel-dev-f7e909eae444ff733ecc5628af76d89c363ab480.tar.gz |
x86: Prepare the affinity common functions for taking struct irq_data *
While at it rename it to sensible function names and fix the return
value from unsigned to int for __ioapic_set_affinity (set_desc_affinity).
Returning -1 in a function returning unsigned int is somewhat strange.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/uv_irq.c')
-rw-r--r-- | arch/x86/kernel/uv_irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/uv_irq.c b/arch/x86/kernel/uv_irq.c index 2233a42..56a42e1 100644 --- a/arch/x86/kernel/uv_irq.c +++ b/arch/x86/kernel/uv_irq.c @@ -216,7 +216,7 @@ static int uv_set_irq_affinity(unsigned int irq, const struct cpumask *mask) unsigned long mmr_offset; int mmr_pnode; - if (set_desc_affinity(desc, mask, &dest)) + if (__ioapic_set_affinity(&desc->irq_data, mask, &dest)) return -1; mmr_value = 0; |