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

[XenARM] [PATCH] Fix warning by allowing paging_mark_dirty to be defined.



paging_mark_dirty() prototype was not used for now ...

I am not sure this fix is the right one but it does work.

Signed-off-by: Jean-Christophe DUBOIS <jcd@xxxxxxxxxxxxxxx>
---
 xen/include/asm-arm/config.h |    2 ++
 xen/include/asm-arm/paging.h |    4 ++++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h
index c263247..bb7dddc 100644
--- a/xen/include/asm-arm/config.h
+++ b/xen/include/asm-arm/config.h
@@ -3,6 +3,8 @@
 
 #include <asm/arch/config.h>
 
+#define CONFIG_PAGING_ASSISTANCE 1
+
 #ifndef MAX_HVM_VCPUS
 #define MAX_HVM_VCPUS          1
 #endif
diff --git a/xen/include/asm-arm/paging.h b/xen/include/asm-arm/paging.h
index d82150a..3f05ac5 100644
--- a/xen/include/asm-arm/paging.h
+++ b/xen/include/asm-arm/paging.h
@@ -32,5 +32,9 @@ void paging_mark_dirty(struct domain *d, unsigned long 
guest_mfn);
 /* is this guest page dirty? */
 //int paging_mfn_is_dirty(struct domain *d, mfn_t gmfn);
 
+#define paging_mode_translate(d)              (0)
+#define paging_mode_external(d)               (0)
+#define guest_physmap_add_page(d, p, m, o)    (0)
+#define guest_physmap_remove_page(d, p, m, o) ((void)0)
 
 #endif
-- 
1.7.4.1


_______________________________________________
Xen-arm mailing list
Xen-arm@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-arm


 


Rackspace

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