]> git.karo-electronics.de Git - linux-beck.git/commit
virtio-net: fix build error when CONFIG_AVERAGE is not enabled
authorMichael Dalton <mwdalton@google.com>
Fri, 17 Jan 2014 09:27:08 +0000 (01:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Jan 2014 02:58:38 +0000 (18:58 -0800)
commit8cabd6a06c01499507e1ff8d641cad656cca613b
tree5975404c82e3873b4ae20136ecd11cee5e9ad37e
parentd7c35c388ae9089af4edcef91b1aeed14daa4693
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 <mwdalton@google.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig