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-16 16:22:53 -08:00
2013-12-11 00:19:17 -05:00
2014-01-23 13:28:29 -08:00
2014-02-13 17:27:30 -05:00
2014-01-28 11:59:30 -08:00
2014-02-12 17:53:35 -05:00
2013-08-30 17:43:38 -04:00
2013-11-07 02:14:32 -05:00