Re: [PATCH net-next] genirq: Eliminate explicit dependency between IRQ affinity notifiers and CONFIG_SMP

From: David Miller
Date: Thu May 22 2014 - 15:28:19 EST


From: Amir Vadai <amirv@xxxxxxxxxxxx>
Date: Tue, 20 May 2014 17:57:00 +0300

> From: Eyal Perry <eyalpe@xxxxxxxxxxxx>
>
> Instead of requiring each consumer of the IRQ affinity notifier to have
> themselves be explicitly dependent on CONFIG_SMP, make the definition of
> struct irq_affinity_notify to exist independently of that config option
> and introduce a stub for irq_set_affinity_notifier() under non SMP
> configuration.
>
> Fixes: 2eacc23 ("net/mlx4_core: Enforce irq affinity changes
> immediatly")
>
> Signed-off-by: Eyal Perry <eyalpe@xxxxxxxxxxxx>
> Signed-off-by: Amir Vadai <amirv@xxxxxxxxxxxx>

IRQ layer folks please review and push upstream if there aren't any
problems.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/