xen-netback: Include header for vmalloc
authorJosh Boyer <jwboyer@redhat.com>
Sun, 5 Jan 2014 15:24:01 +0000 (10:24 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2014 01:34:36 +0000 (20:34 -0500)
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>
drivers/net/xen-netback/interface.c

index 34ca4e58a43dfa54ac346518a1978662793b2e2a..fff8cddfed816d3479fac57a6f91b4d827272033 100644 (file)
@@ -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>