ia64/xen-unstable

changeset 17573:bb49aeae1ff2

i386: Fix 32-bit x86 build.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Sun May 04 08:32:00 2008 +0100 (2008-05-04)
parents 6bd4625a20ee
children eb046aff9f17
files xen/arch/x86/mm/shadow/multi.c
line diff
     1.1 --- a/xen/arch/x86/mm/shadow/multi.c	Fri May 02 15:10:20 2008 +0100
     1.2 +++ b/xen/arch/x86/mm/shadow/multi.c	Sun May 04 08:32:00 2008 +0100
     1.3 @@ -1272,7 +1272,7 @@ static inline void shadow_vram_get_l1e(s
     1.4          if ( count_info == 1 )
     1.5              /* Initial guest reference, record it */
     1.6              d->dirty_vram->sl1ma[i] = pfn_to_paddr(mfn_x(sl1mfn))
     1.7 -                | ((paddr_t) sl1e & ~PAGE_MASK);
     1.8 +                | ((unsigned long)sl1e & ~PAGE_MASK);
     1.9      }
    1.10  }
    1.11  
    1.12 @@ -1294,8 +1294,8 @@ static inline void shadow_vram_put_l1e(s
    1.13          struct page_info *page = mfn_to_page(mfn);
    1.14          u32 count_info = page->u.inuse.type_info & PGT_count_mask;
    1.15          int dirty = 0;
    1.16 -        paddr_t sl1ma =  pfn_to_paddr(mfn_x(sl1mfn))
    1.17 -            | ((paddr_t) sl1e & ~PAGE_MASK);
    1.18 +        paddr_t sl1ma = pfn_to_paddr(mfn_x(sl1mfn))
    1.19 +            | ((unsigned long)sl1e & ~PAGE_MASK);
    1.20  
    1.21          if ( count_info == 1 ) {
    1.22              /* Last reference */