diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/5745-drivers-net-remove-net-busy_poll.h-inclusion-when-no.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/5745-drivers-net-remove-net-busy_poll.h-inclusion-when-no.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/5745-drivers-net-remove-net-busy_poll.h-inclusion-when-no.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/5745-drivers-net-remove-net-busy_poll.h-inclusion-when-no.patch new file mode 100644 index 00000000..7a1e240d --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/5745-drivers-net-remove-net-busy_poll.h-inclusion-when-no.patch @@ -0,0 +1,35 @@ +From 5c6a31fed9eb8e880f669369e269a4c347cf1355 Mon Sep 17 00:00:00 2001 +From: Eric Dumazet <edumazet@google.com> +Date: Thu, 25 Oct 2018 06:42:12 -0700 +Subject: [PATCH 5745/5758] drivers: net: remove <net/busy_poll.h> inclusion + when not needed + +Drivers using generic NAPI interface no longer need to include +<net/busy_poll.h>, since busy polling was moved to core networking +stack long ago. + +See commit 79e7fff47b7b ("net: remove support for per driver +ndo_busy_poll()") for reference. + +Signed-off-by: Eric Dumazet <edumazet@google.com> +Signed-off-by: David S. Miller <davem@davemloft.net> +Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com> +--- + drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-drv.c b/drivers/net/ethernet/amd/xgbe/xgbe-drv.c +index 93b4048..e1c0fea 100644 +--- a/drivers/net/ethernet/amd/xgbe/xgbe-drv.c ++++ b/drivers/net/ethernet/amd/xgbe/xgbe-drv.c +@@ -119,7 +119,6 @@ + #include <linux/tcp.h> + #include <linux/if_vlan.h> + #include <linux/interrupt.h> +-#include <net/busy_poll.h> + #include <linux/clk.h> + #include <linux/if_ether.h> + #include <linux/net_tstamp.h> +-- +2.7.4 + |