diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2018-05-14 15:38:10 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-04 14:52:51 +0100 |
commit | fe54a7c4f0d1f313ea341ebd92d1f3ff9eb65007 (patch) | |
tree | 956bf68ac4f35b86fb5182d2912a5a202b004e3d /Documentation/fault-injection | |
parent | b0ee9bd40d74001cd98de6bac252dd728130dbaa (diff) | |
download | linux-stable-fe54a7c4f0d1f313ea341ebd92d1f3ff9eb65007.tar.gz linux-stable-fe54a7c4f0d1f313ea341ebd92d1f3ff9eb65007.tar.bz2 linux-stable-fe54a7c4f0d1f313ea341ebd92d1f3ff9eb65007.zip |
net/mlx5: Fix build break when CONFIG_SMP=n
[ Upstream commit e3ca34880652250f524022ad89e516f8ba9a805b ]
Avoid using the kernel's irq_descriptor and return IRQ vector affinity
directly from the driver.
This fixes the following build break when CONFIG_SMP=n
include/linux/mlx5/driver.h: In function ‘mlx5_get_vector_affinity_hint’:
include/linux/mlx5/driver.h:1299:13: error:
‘struct irq_desc’ has no member named ‘affinity_hint’
Fixes: 6082d9c9c94a ("net/mlx5: Fix mlx5_get_vector_affinity function")
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
CC: Randy Dunlap <rdunlap@infradead.org>
CC: Guenter Roeck <linux@roeck-us.net>
CC: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Israel Rukshin <israelr@mellanox.com>
Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation/fault-injection')
0 files changed, 0 insertions, 0 deletions