Commit 1b9b87ac authored by Rusty Russell's avatar Rusty Russell Committed by David S. Miller

[TRIVIAL] Use __cachline_aligned in netdevice.h

parent 5f0a9571
......@@ -162,7 +162,7 @@ struct netif_rx_stats
unsigned fastroute_deferred_out;
unsigned fastroute_latency_reduction;
unsigned cpu_collision;
} __attribute__ ((__aligned__(SMP_CACHE_BYTES)));
} ____cacheline_aligned;
extern struct netif_rx_stats netdev_rx_stat[];
......@@ -501,7 +501,7 @@ struct softnet_data
struct sk_buff *completion_queue;
struct net_device backlog_dev; /* Sorry. 8) */
} __attribute__((__aligned__(SMP_CACHE_BYTES)));
} ____cacheline_aligned;
extern struct softnet_data softnet_data[NR_CPUS];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment