summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/net/ethernet/tile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/net/ethernet/tile')
-rw-r--r--kernel/drivers/net/ethernet/tile/tilegx.c4
-rw-r--r--kernel/drivers/net/ethernet/tile/tilepro.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/kernel/drivers/net/ethernet/tile/tilegx.c b/kernel/drivers/net/ethernet/tile/tilegx.c
index a3f761000..0a15acc07 100644
--- a/kernel/drivers/net/ethernet/tile/tilegx.c
+++ b/kernel/drivers/net/ethernet/tile/tilegx.c
@@ -40,6 +40,7 @@
#include <linux/tcp.h>
#include <linux/net_tstamp.h>
#include <linux/ptp_clock_kernel.h>
+#include <linux/tick.h>
#include <asm/checksum.h>
#include <asm/homecache.h>
@@ -2273,7 +2274,8 @@ static int __init tile_net_init_module(void)
tile_net_dev_init(name, mac);
if (!network_cpus_init())
- network_cpus_map = *cpu_online_mask;
+ cpumask_and(&network_cpus_map, housekeeping_cpumask(),
+ cpu_online_mask);
return 0;
}
diff --git a/kernel/drivers/net/ethernet/tile/tilepro.c b/kernel/drivers/net/ethernet/tile/tilepro.c
index 3d8f60d96..6f0a4495c 100644
--- a/kernel/drivers/net/ethernet/tile/tilepro.c
+++ b/kernel/drivers/net/ethernet/tile/tilepro.c
@@ -721,9 +721,6 @@ static bool tile_net_poll_aux(struct tile_net_cpu *info, int index)
if (!hash_default)
__inv_buffer(buf, len);
- /* ISSUE: Is this needed? */
- dev->last_rx = jiffies;
-
#ifdef TILE_NET_DUMP_PACKETS
dump_packet(buf, len, "rx");
#endif /* TILE_NET_DUMP_PACKETS */