mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 11:16:42 +07:00
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>
This commit is contained in:
parent
cd7eab44e9
commit
1fb0ef31f4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user