ia64/xen-unstable

changeset 11123:920784588848

[POWERPC] need a real definition for gnttab_log_dirty()

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Sun Aug 13 14:43:50 2006 -0400 (2006-08-13)
parents cdb24f869a56
children 552d50b3abf2
files xen/include/asm-powerpc/grant_table.h xen/include/asm-powerpc/shadow.h
line diff
     1.1 --- a/xen/include/asm-powerpc/grant_table.h	Fri Aug 11 13:30:48 2006 -0400
     1.2 +++ b/xen/include/asm-powerpc/grant_table.h	Sun Aug 13 14:43:50 2006 -0400
     1.3 @@ -47,7 +47,7 @@ int destroy_grant_host_mapping(
     1.4  #define gnttab_shared_gmfn(d, t, i)                     \
     1.5      (mfn_to_gmfn(d, gnttab_shared_mfn(d, t, i)))
     1.6  
     1.7 -#define gnttab_log_dirty(d, f) ((void )0)
     1.8 +#define gnttab_log_dirty(d, f) mark_dirty((d), (f))
     1.9  
    1.10  static inline void gnttab_clear_flag(unsigned long nr, uint16_t *addr)
    1.11  {
     2.1 --- a/xen/include/asm-powerpc/shadow.h	Fri Aug 11 13:30:48 2006 -0400
     2.2 +++ b/xen/include/asm-powerpc/shadow.h	Sun Aug 13 14:43:50 2006 -0400
     2.3 @@ -24,6 +24,7 @@
     2.4  #include <xen/sched.h>
     2.5  
     2.6  #define shadow_mode_translate(_d) (1)
     2.7 +#define shadow_mode_refcounts(_d) (1)
     2.8  
     2.9  #define __translate_gpfn_to_mfn(_d, gpfn)              \
    2.10      ( (shadow_mode_translate(_d))                      \
    2.11 @@ -49,4 +50,9 @@ extern void guest_physmap_remove_page(
    2.12  
    2.13  extern void shadow_drop_references(
    2.14      struct domain *d, struct page_info *page);
    2.15 +
    2.16 +static inline void mark_dirty(struct domain *d, unsigned int mfn)
    2.17 +{
    2.18 +    return;
    2.19 +}
    2.20  #endif