net: move definition of pcpu_lstats to header file
pcpu_lstats is defined in several files, so unify them as one and move to header file Signed-off-by: Zhang Yu <zhangyu31@baidu.com> Signed-off-by: Li RongQing <lirongqing@baidu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
ee4fccbee7
commit
52bb6677d5
@@ -59,12 +59,6 @@
|
||||
#include <net/net_namespace.h>
|
||||
#include <linux/u64_stats_sync.h>
|
||||
|
||||
struct pcpu_lstats {
|
||||
u64 packets;
|
||||
u64 bytes;
|
||||
struct u64_stats_sync syncp;
|
||||
};
|
||||
|
||||
/* The higher levels take care of making this non-reentrant (it's
|
||||
* called with bh's disabled).
|
||||
*/
|
||||
|
Reference in New Issue
Block a user