aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-01-31 08:57:41 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-01-31 08:57:41 +0100
commit1fb0ef31f428f345a7c3666f8e7444a563edd537 (patch)
treeaef752257568dfc69e76902750937514cac95cf0 /kernel/irq/manage.c
parentcd7eab44e9946c28d595abe3e9a43e945bc49141 (diff)
downloadkernel_samsung_smdk4412-1fb0ef31f428f345a7c3666f8e7444a563edd537.zip
kernel_samsung_smdk4412-1fb0ef31f428f345a7c3666f8e7444a563edd537.tar.gz
kernel_samsung_smdk4412-1fb0ef31f428f345a7c3666f8e7444a563edd537.tar.bz2
genirq: Fix affinity notifier fallout
The new code of commit cd7eab44e(genirq: Add IRQ affinity notifiers) references irq_desc.affinity which fails to compile with CONFIG_GENERIC_HARDIRQS_NO_DEPRECATED=y. Use irq_desc.irq_data.affinity instead. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r--kernel/irq/manage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 0587c5c..538fce2 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -179,7 +179,7 @@ static void irq_affinity_notify(struct work_struct *work)
cpumask_copy(cpumask, desc->pending_mask);
else
#endif
- cpumask_copy(cpumask, desc->affinity);
+ cpumask_copy(cpumask, desc->irq_data.affinity);
raw_spin_unlock_irqrestore(&desc->lock, flags);
notify->notify(notify, cpumask);