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 <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Acked-by: Saeed Mahameed <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9c29e36 commit f0b594d

File tree

1 file changed

+0
-1
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core/en/rep

1 file changed

+0
-1
lines changed

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)