diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-09-24 06:26:18 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-10-12 10:53:36 -0400 |
commit | d4eba29770244e7cc5e60c0977d73d84148a3d6d (patch) | |
tree | a12a7a15e36b6dc82eae07530cfcd443c88fc5b7 /arch/x86/kernel/uv_irq.c | |
parent | 4305df947ca1fd52867c8d56837a4e6b1e33167c (diff) |
x86: Cleanup access to irq_data
Fixup the open coded access to
irq_desc->[handler_data|chip_data|msi-desc]
Use the macros and inline functions for it.
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 1132129db792..2233a42fb907 100644 --- a/arch/x86/kernel/uv_irq.c +++ b/arch/x86/kernel/uv_irq.c | |||
@@ -209,7 +209,7 @@ static void arch_disable_uv_irq(int mmr_pnode, unsigned long mmr_offset) | |||
209 | static int uv_set_irq_affinity(unsigned int irq, const struct cpumask *mask) | 209 | static int uv_set_irq_affinity(unsigned int irq, const struct cpumask *mask) |
210 | { | 210 | { |
211 | struct irq_desc *desc = irq_to_desc(irq); | 211 | struct irq_desc *desc = irq_to_desc(irq); |
212 | struct irq_cfg *cfg = desc->chip_data; | 212 | struct irq_cfg *cfg = get_irq_desc_chip_data(desc); |
213 | unsigned int dest; | 213 | unsigned int dest; |
214 | unsigned long mmr_value; | 214 | unsigned long mmr_value; |
215 | struct uv_IO_APIC_route_entry *entry; | 215 | struct uv_IO_APIC_route_entry *entry; |