[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [IA64] linux: MULTI_update_va_mapping definition to copmile netback and netfront



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 00141f6d15e005969b14776eb87f5e217b5eb851
# Parent  2286ce3035fc013dddaf13c9ce8f171d45399558
[IA64] linux: MULTI_update_va_mapping definition to copmile netback and netfront

add trivial definitions, MULTI_UVMFLAGS_INDEX and MULTI_update_va_mapping()
to compile netback and netfront

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h |   13 +++++++++++++
 1 files changed, 13 insertions(+)

diff -r 2286ce3035fc -r 00141f6d15e0 
linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h
--- a/linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h        Wed May 10 
15:57:04 2006 -0600
+++ b/linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h        Wed May 10 
15:58:36 2006 -0600
@@ -172,6 +172,19 @@ xen_destroy_contiguous_region(unsigned l
        if (running_on_xen)
                __xen_destroy_contiguous_region(vstart, order);
 }
+
+// for netfront.c, netback.c
+#define MULTI_UVMFLAGS_INDEX 0 //XXX any value
+
+static inline void
+MULTI_update_va_mapping(
+       multicall_entry_t *mcl, unsigned long va,
+       pte_t new_val, unsigned long flags)
+{
+       mcl->op = __HYPERVISOR_update_va_mapping;
+       mcl->result = 0;
+}
+
 #else
 #define xen_create_contiguous_region(vstart, order, address_bits)      (0)
 #define xen_destroy_contiguous_region(vstart, order)   do {} while (0)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.