Skip to content

Commit f0b594d

Browse files
Sebastian Andrzej Siewiordavem330
authored andcommitted
net/mlx5e: Do not include rwlock.h directly
rwlock.h should not be included directly. Instead linux/splinlock.h should be included. Including it directly will break the RT build. Fixes: 549c243 ("net/mlx5e: Extract neigh-specific code from en_rep.c to rep/neigh.c") Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Acked-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 9c29e36 commit f0b594d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • drivers/net/ethernet/mellanox/mlx5/core/en/rep

‎drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#include <linux/rculist.h>
77
#include <linux/rtnetlink.h>
88
#include <linux/workqueue.h>
9-
#include <linux/rwlock.h>
109
#include <linux/spinlock.h>
1110
#include <linux/notifier.h>
1211
#include <net/netevent.h>

0 commit comments

Comments
 (0)