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-changelog

[Xen-changelog] [xen-unstable] mini-os: Fix 32bit compilation of fs-fron

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] mini-os: Fix 32bit compilation of fs-front.c
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 04 Aug 2008 15:10:22 -0700
Delivery-date: Mon, 04 Aug 2008 15:11:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1217864711 -3600
# Node ID f9419c57b360c074a10d1a2d0d1daac3e78ee18e
# Parent  82edd418d8987735a44e98820327a84b1af04788
mini-os: Fix 32bit compilation of fs-front.c

Reported-by: Trolle Selander <trolle.selander@xxxxxxxxxxxxx>
Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
 extras/mini-os/fs-front.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 82edd418d898 -r f9419c57b360 extras/mini-os/fs-front.c
--- a/extras/mini-os/fs-front.c Mon Aug 04 16:44:14 2008 +0100
+++ b/extras/mini-os/fs-front.c Mon Aug 04 16:45:11 2008 +0100
@@ -818,14 +818,14 @@ void *alloc_buffer_page(struct fs_reques
     page = (void *)alloc_page(); 
     *gref = gnttab_grant_access(domid, virt_to_mfn(page), 0); 
     req->private1 = page;
-    req->private2 = (void *)(uint64_t)(*gref);
+    req->private2 = (void *)(uintptr_t)(*gref);
 
     return page;
 }
 
 void free_buffer_page(struct fs_request *req)
 {
-    gnttab_end_access((grant_ref_t)(uint64_t)req->private2);
+    gnttab_end_access((grant_ref_t)(uintptr_t)req->private2);
     free_page(req->private1);
 }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] mini-os: Fix 32bit compilation of fs-front.c, Xen patchbot-unstable <=