x86: Prepare the affinity common functions for taking struct irq_data *
authorThomas Gleixner <tglx@linutronix.de>
Fri, 8 Oct 2010 19:40:23 +0000 (21:40 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Oct 2010 14:53:38 +0000 (16:53 +0200)
commitf7e909eae444ff733ecc5628af76d89c363ab480
treedca76cd20bd6fe498b9610fce25be0b45618269a
parent60c69948e5b6357ac0d5ef2a2d0ce31c173c3c64
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>
arch/x86/include/asm/hw_irq.h
arch/x86/kernel/apic/io_apic.c
arch/x86/kernel/uv_irq.c