WANG Cong 1c213bd24a net: introduce netdev_alloc_pcpu_stats() for drivers
There are many drivers calling alloc_percpu() to allocate pcpu stats
and then initializing ->syncp. So just introduce a helper function for them.

Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-02-14 15:49:55 -05:00
..
2014-01-30 16:48:17 -08:00
2014-02-13 18:33:38 -05:00
2014-01-21 18:13:05 -08:00
2014-02-10 17:51:29 -08:00
2014-02-12 19:26:32 -05:00
2014-02-13 18:33:38 -05:00
2013-09-23 16:52:45 -04:00
2013-10-19 19:36:19 -04:00
2014-01-28 18:04:18 -08:00
2014-02-13 18:33:38 -05:00
2013-11-21 13:09:42 -05:00
2014-02-13 18:33:38 -05:00
2014-02-13 18:15:10 -05:00