From: Michael Dalton Date: Fri, 17 Jan 2014 09:27:08 +0000 (-0800) Subject: virtio-net: fix build error when CONFIG_AVERAGE is not enabled X-Git-Tag: v3.14-rc1~94^2~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cabd6a06c01499507e1ff8d641cad656cca613b;p=pandora-kernel.git virtio-net: fix build error when CONFIG_AVERAGE is not enabled Commit ab7db91705e9 ("virtio-net: auto-tune mergeable rx buffer size for improved performance") introduced a virtio-net dependency on EWMA. The inclusion of EWMA is controlled by CONFIG_AVERAGE. Fix build error when CONFIG_AVERAGE is not enabled by adding select AVERAGE to virtio-net's Kconfig entry. Build failure reported using config make ARCH=s390 defconfig. Signed-off-by: Michael Dalton Acked-by: Jason Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed