From: Dave Hansen <haveblue@us.ibm.com>
To: Ian Pratt <Ian.Pratt@cl.cam.ac.uk>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>,
Keir.Fraser@cl.cam.ac.uk, Christian.Limpach@cl.cam.ac.uk
Subject: Re: [patch 4/4] Xen core patch : /dev/mem calls io_remap_page_range
Date: Wed, 17 Nov 2004 16:25:04 -0800 [thread overview]
Message-ID: <1100737504.12373.259.camel@localhost> (raw)
In-Reply-To: <E1CUZfD-00059Q-00@mta1.cl.cam.ac.uk>
On Wed, 2004-11-17 at 15:56, Ian Pratt wrote:
> +#if defined(CONFIG_XEN)
> + if (io_remap_page_range(vma, vma->vm_start, offset,
> + vma->vm_end-vma->vm_start, vma->vm_page_prot))
> + return -EAGAIN;
> +#else
> if (remap_page_range(vma, vma->vm_start, offset, vma->vm_end-vma->vm_start,
> vma->vm_page_prot))
> return -EAGAIN;
> +#endif
> return 0;
> }
Do *all* calls to remap_page_range() under your arch need to be
converted like this, or is this the only one? Seems like something that
should be done with header magic instead.
-- Dave
next prev parent reply other threads:[~2004-11-18 0:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-17 23:56 [patch 4/4] Xen core patch : /dev/mem calls io_remap_page_range Ian Pratt
2004-11-18 0:25 ` Dave Hansen [this message]
2004-11-18 1:05 ` Ian Pratt
2004-11-18 1:20 ` Dave Hansen
2004-11-18 3:01 ` Andrew Morton
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=1100737504.12373.259.camel@localhost \
--to=haveblue@us.ibm.com \
--cc=Christian.Limpach@cl.cam.ac.uk \
--cc=Ian.Pratt@cl.cam.ac.uk \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox