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

[Xen-changelog] [xen-unstable] [POWERPC] need a real definition for gnttab_log_dirty()



# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 920784588848334cf2e34d86330ad8e93ffb07f7
# Parent  cdb24f869a564a5dcd89bd4a6816069124ef17d3
[POWERPC] need a real definition for gnttab_log_dirty()

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/include/asm-powerpc/grant_table.h |    2 +-
 xen/include/asm-powerpc/shadow.h      |    6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff -r cdb24f869a56 -r 920784588848 xen/include/asm-powerpc/grant_table.h
--- a/xen/include/asm-powerpc/grant_table.h     Fri Aug 11 13:30:48 2006 -0400
+++ b/xen/include/asm-powerpc/grant_table.h     Sun Aug 13 14:43:50 2006 -0400
@@ -47,7 +47,7 @@ int destroy_grant_host_mapping(
 #define gnttab_shared_gmfn(d, t, i)                     \
     (mfn_to_gmfn(d, gnttab_shared_mfn(d, t, i)))
 
-#define gnttab_log_dirty(d, f) ((void )0)
+#define gnttab_log_dirty(d, f) mark_dirty((d), (f))
 
 static inline void gnttab_clear_flag(unsigned long nr, uint16_t *addr)
 {
diff -r cdb24f869a56 -r 920784588848 xen/include/asm-powerpc/shadow.h
--- a/xen/include/asm-powerpc/shadow.h  Fri Aug 11 13:30:48 2006 -0400
+++ b/xen/include/asm-powerpc/shadow.h  Sun Aug 13 14:43:50 2006 -0400
@@ -24,6 +24,7 @@
 #include <xen/sched.h>
 
 #define shadow_mode_translate(_d) (1)
+#define shadow_mode_refcounts(_d) (1)
 
 #define __translate_gpfn_to_mfn(_d, gpfn)              \
     ( (shadow_mode_translate(_d))                      \
@@ -49,4 +50,9 @@ extern void guest_physmap_remove_page(
 
 extern void shadow_drop_references(
     struct domain *d, struct page_info *page);
+
+static inline void mark_dirty(struct domain *d, unsigned int mfn)
+{
+    return;
+}
 #endif

_______________________________________________
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®.