summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@redhat.com>2014-01-05 15:24:01 (GMT)
committerDavid S. Miller <davem@davemloft.net>2014-01-06 01:34:36 (GMT)
commitf35f76ee76df008131bbe01a2297de0c55ee2297 (patch)
tree94861b53d9f08cb8eb9b047e1927e8b555c9ddde /drivers
parent965801e1eb624154fe5e9dc5d2ff0b7f1951a11c (diff)
downloadlinux-f35f76ee76df008131bbe01a2297de0c55ee2297.tar.xz
xen-netback: Include header for vmalloc
Commit ac3d5ac27735 ("xen-netback: fix guest-receive-side array sizes") added calls to vmalloc and vfree in the interface.c file without including <linux/vmalloc.h>. This causes build failures if the -Werror=implicit-function-declaration flag is passed. Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org> Acked-by: Wei Liu <wei.liu2@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/xen-netback/interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/xen-netback/interface.c b/drivers/net/xen-netback/interface.c
index 34ca4e5..fff8cdd 100644
--- a/drivers/net/xen-netback/interface.c
+++ b/drivers/net/xen-netback/interface.c
@@ -34,6 +34,7 @@
#include <linux/ethtool.h>
#include <linux/rtnetlink.h>
#include <linux/if_vlan.h>
+#include <linux/vmalloc.h>
#include <xen/events.h>
#include <asm/xen/hypercall.h>