When building with -Werror-implicit-function-declaration, the addition
of is_initial_xen_domain() checks in drivers/xen/netfront/accel.c
causes the build to fail.
Additionally, drivers/xen/netfront/netfront.c illegally (and
needlessly) includes xen/hypercall.h directly.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
#include <linux/skbuff.h>
#include <linux/list.h>
#include <linux/mutex.h>
-
+#include <asm/hypervisor.h>
#include <xen/xenbus.h>
#include "netfront.h"
#include <asm/uaccess.h>
#include <xen/interface/grant_table.h>
#include <xen/gnttab.h>
-#include <xen/hypercall.h>
struct netfront_cb {
struct page *page;