xen/arm: compile netback
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 8 Aug 2012 17:21:23 +0000 (17:21 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 8 Aug 2012 17:21:23 +0000 (17:21 +0000)
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/arm/include/asm/xen/hypercall.h
drivers/net/xen-netback/netback.c
drivers/net/xen-netfront.c

index 4ac062414369d4d28d545fbbed440e5fdb188376..8a823253d775d83337bab6e833d30949e553e49d 100644 (file)
@@ -47,4 +47,23 @@ unsigned long HYPERVISOR_hvm_op(int op, void *arg);
 int HYPERVISOR_memory_op(unsigned int cmd, void *arg);
 int HYPERVISOR_physdev_op(int cmd, void *arg);
 
+static inline void
+MULTI_update_va_mapping(struct multicall_entry *mcl, unsigned long va,
+                       unsigned int new_val, unsigned long flags)
+{
+       BUG();
+}
+
+static inline void
+MULTI_mmu_update(struct multicall_entry *mcl, struct mmu_update *req,
+                int count, int *success_count, domid_t domid)
+{
+       BUG();
+}
+
+static inline int
+HYPERVISOR_multicall(void *call_list, int nr_calls)
+{
+       BUG();
+}
 #endif /* _ASM_ARM_XEN_HYPERCALL_H */
index 682633bfe00ff7fc35c7be97c427a6cf5d9dde45..1c0a30240d97c03ef56375ec75982903e94e60da 100644 (file)
@@ -40,6 +40,7 @@
 
 #include <net/tcp.h>
 
+#include <xen/xen.h>
 #include <xen/events.h>
 #include <xen/interface/memory.h>
 
index 650f79a1f2bd4a89cd96326d63c85982b24db0aa..24d968ddb543935532113b1d03821c6a0f85661e 100644 (file)
@@ -43,6 +43,7 @@
 #include <linux/slab.h>
 #include <net/ip.h>
 
+#include <asm/xen/page.h>
 #include <xen/xen.h>
 #include <xen/xenbus.h>
 #include <xen/events.h>