net: move definition of pcpu_lstats to header file
authorLi RongQing <lirongqing@baidu.com>
Fri, 14 Sep 2018 08:00:51 +0000 (16:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Sep 2018 15:32:23 +0000 (08:32 -0700)
commit52bb6677d530d37055092d86b4eab69dce6c166a
tree9701036db4955aa531c835ca07e186aaf3662601
parentee4fccbee7d397c4d937e20d8c76212ffc23a7e3
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>
drivers/net/loopback.c
drivers/net/nlmon.c
drivers/net/vsockmon.c
include/linux/netdevice.h