From: WANG Cong Date: Thu, 13 Feb 2014 19:46:28 +0000 (-0800) Subject: net: introduce netdev_alloc_pcpu_stats() for drivers X-Git-Tag: v3.15-rc1~113^2~350 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c213bd24ad04f4430031d20d740d7783162b099;p=pandora-kernel.git 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 Signed-off-by: Cong Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed