[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XenPPC] [xenppc-unstable] [POWERPC] need a real definition for gnttab_log_dirty()
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |