WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

[XenPPC] [xenppc-unstable] [POWERPC] need a real definition for gnttab_l

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] [POWERPC] need a real definition for gnttab_log_dirty()
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Aug 2006 00:18:38 +0000
Delivery-date: Sun, 13 Aug 2006 17:40:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID a88a9894a4bd51e461a200565b27e4bfd6c6b34d
# Parent  c0ffe82c5ae45b9aeadeebb0717daa80bed8e81e
[POWERPC] need a real definition for gnttab_log_dirty()

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

diff -r c0ffe82c5ae4 -r a88a9894a4bd xen/include/asm-powerpc/grant_table.h
--- a/xen/include/asm-powerpc/grant_table.h     Sun Aug 13 14:26:22 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 c0ffe82c5ae4 -r a88a9894a4bd xen/include/asm-powerpc/shadow.h
--- a/xen/include/asm-powerpc/shadow.h  Sun Aug 13 14:26:22 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-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [xenppc-unstable] [POWERPC] need a real definition for gnttab_log_dirty(), Xen patchbot-xenppc-unstable <=