aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/uv_irq.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-09-24 12:26:18 +0200
committerThomas Gleixner <tglx@linutronix.de>2010-10-12 16:53:36 +0200
commitd4eba29770244e7cc5e60c0977d73d84148a3d6d (patch)
treea12a7a15e36b6dc82eae07530cfcd443c88fc5b7 /arch/x86/kernel/uv_irq.c
parentx86: i8259: Convert to new irq_chip functions (diff)
downloadlinux-dev-d4eba29770244e7cc5e60c0977d73d84148a3d6d.tar.xz
linux-dev-d4eba29770244e7cc5e60c0977d73d84148a3d6d.zip
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 '')
-rw-r--r--arch/x86/kernel/uv_irq.c2
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)
static int uv_set_irq_affinity(unsigned int irq, const struct cpumask *mask)
{
struct irq_desc *desc = irq_to_desc(irq);
- struct irq_cfg *cfg = desc->chip_data;
+ struct irq_cfg *cfg = get_irq_desc_chip_data(desc);
unsigned int dest;
unsigned long mmr_value;
struct uv_IO_APIC_route_entry *entry;