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

[Xen-changelog] [xen-unstable] i386: Fix 32-bit x86 build.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1209886320 -3600
# Node ID bb49aeae1ff24477f066c19aaf032f740bed369e
# Parent  6bd4625a20ee529d9f92f096b39e7716f982c675
i386: Fix 32-bit x86 build.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/mm/shadow/multi.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -r 6bd4625a20ee -r bb49aeae1ff2 xen/arch/x86/mm/shadow/multi.c
--- a/xen/arch/x86/mm/shadow/multi.c    Fri May 02 15:10:20 2008 +0100
+++ b/xen/arch/x86/mm/shadow/multi.c    Sun May 04 08:32:00 2008 +0100
@@ -1272,7 +1272,7 @@ static inline void shadow_vram_get_l1e(s
         if ( count_info == 1 )
             /* Initial guest reference, record it */
             d->dirty_vram->sl1ma[i] = pfn_to_paddr(mfn_x(sl1mfn))
-                | ((paddr_t) sl1e & ~PAGE_MASK);
+                | ((unsigned long)sl1e & ~PAGE_MASK);
     }
 }
 
@@ -1294,8 +1294,8 @@ static inline void shadow_vram_put_l1e(s
         struct page_info *page = mfn_to_page(mfn);
         u32 count_info = page->u.inuse.type_info & PGT_count_mask;
         int dirty = 0;
-        paddr_t sl1ma =  pfn_to_paddr(mfn_x(sl1mfn))
-            | ((paddr_t) sl1e & ~PAGE_MASK);
+        paddr_t sl1ma = pfn_to_paddr(mfn_x(sl1mfn))
+            | ((unsigned long)sl1e & ~PAGE_MASK);
 
         if ( count_info == 1 ) {
             /* Last reference */

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