Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fb0ef31 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

genirq: Fix affinity notifier fallout



The new code of commit cd7eab44(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: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Ben Hutchings <bhutchings@solarflare.com>
parent cd7eab44
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -179,7 +179,7 @@ static void irq_affinity_notify(struct work_struct *work)
		cpumask_copy(cpumask, desc->pending_mask);
		cpumask_copy(cpumask, desc->pending_mask);
	else
	else
#endif
#endif
		cpumask_copy(cpumask, desc->affinity);
		cpumask_copy(cpumask, desc->irq_data.affinity);
	raw_spin_unlock_irqrestore(&desc->lock, flags);
	raw_spin_unlock_irqrestore(&desc->lock, flags);


	notify->notify(notify, cpumask);
	notify->notify(notify, cpumask);