genirq: Fix affinity notifier fallout
authorThomas Gleixner <tglx@linutronix.de>
Mon, 31 Jan 2011 07:57:41 +0000 (08:57 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 31 Jan 2011 07:57:41 +0000 (08:57 +0100)
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>
kernel/irq/manage.c

index 0587c5ceaed8927d4cd9fd464bebbcb583ac8c6a..538fce2db51c4aca7f2d6f39e0552ddbdbf1b050 100644 (file)
@@ -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);
This page took 0.031921 seconds and 5 git commands to generate.