* [PATCH] mini-os: Fix 32bit compilation of fs-front.c
@ 2008-08-04 14:07 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2008-08-04 14:07 UTC (permalink / raw)
To: xen-devel
mini-os: Fix 32bit compilation of fs-front.c
Reported-by: Trolle Selander <trolle.selander@eu.citrix.com>
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
diff -r c9b516a77927 extras/mini-os/fs-front.c
--- a/extras/mini-os/fs-front.c Mon Aug 04 11:29:45 2008 +0100
+++ b/extras/mini-os/fs-front.c Mon Aug 04 15:06:38 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);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-04 14:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-04 14:07 [PATCH] mini-os: Fix 32bit compilation of fs-front.c Samuel Thibault
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.