From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] mini-os: Fix 32bit compilation of fs-front.c
Date: Mon, 4 Aug 2008 15:07:18 +0100 [thread overview]
Message-ID: <20080804140718.GR4470@implementation.uk.xensource.com> (raw)
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);
}
reply other threads:[~2008-08-04 14:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080804140718.GR4470@implementation.uk.xensource.com \
--to=samuel.thibault@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.