diff options
author | Michael Dalton <mwdalton@google.com> | 2014-01-17 04:27:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-17 21:58:38 -0500 |
commit | 8cabd6a06c01499507e1ff8d641cad656cca613b (patch) | |
tree | 5975404c82e3873b4ae20136ecd11cee5e9ad37e /drivers/net/Kconfig | |
parent | d7c35c388ae9089af4edcef91b1aeed14daa4693 (diff) |
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>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index b45b240889f5..f342278539d5 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -236,6 +236,7 @@ config VETH | |||
236 | config VIRTIO_NET | 236 | config VIRTIO_NET |
237 | tristate "Virtio network driver" | 237 | tristate "Virtio network driver" |
238 | depends on VIRTIO | 238 | depends on VIRTIO |
239 | select AVERAGE | ||
239 | ---help--- | 240 | ---help--- |
240 | This is the virtual network driver for virtio. It can be used with | 241 | This is the virtual network driver for virtio. It can be used with |
241 | lguest or QEMU based VMMs (like KVM or Xen). Say Y or M. | 242 | lguest or QEMU based VMMs (like KVM or Xen). Say Y or M. |