From: Keir Fraser <keir@xen.org>
To: lra@sics.se, xen-devel@lists.xen.org
Cc: Lars Rasmusson <Lars.Rasmusson@sics.se>
Subject: Re: [PATCH] xsm_remove_from_physmap is (so far) only defined for X86 architecture, not for ARM
Date: Fri, 11 Jan 2013 13:47:24 +0000 [thread overview]
Message-ID: <CD15C86C.583A7%keir@xen.org> (raw)
In-Reply-To: <1357911131-9397-1-git-send-email-lra@sics.se>
On 11/01/2013 13:32, "lra@sics.se" <lra@sics.se> wrote:
> From: Lars Rasmusson <Lars.Rasmusson@sics.se>
>
> Signed-off-by: Lars Rasmusson <Lars.Rasmusson@sics.se>
If this is a build fix after my checkins this morning then:
Acked-by: Keir Fraser <keir@xen.org>
> ---
> xen/common/memory.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/xen/common/memory.c b/xen/common/memory.c
> index c8c1ef2..8230565 100644
> --- a/xen/common/memory.c
> +++ b/xen/common/memory.c
> @@ -676,12 +676,13 @@ long do_memory_op(unsigned long cmd,
> XEN_GUEST_HANDLE_PARAM(void) arg)
> if ( rc != 0 )
> return rc;
>
> +#ifdef CONFIG_X86
> if ( xsm_remove_from_physmap(current->domain, d) )
> {
> rcu_unlock_domain(d);
> return -EPERM;
> }
> -
> +#endif
> domain_lock(d);
>
> page = get_page_from_gfn(d, xrfp.gpfn, NULL, P2M_ALLOC);
next prev parent reply other threads:[~2013-01-11 13:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-11 13:32 [PATCH] xsm_remove_from_physmap is (so far) only defined for X86 architecture, not for ARM lra
2013-01-11 13:40 ` Ian Campbell
2013-01-11 13:47 ` Keir Fraser [this message]
2013-01-11 16:24 ` Lars Rasmusson
2013-01-11 16:36 ` Keir Fraser
2013-01-11 16:46 ` Ian Campbell
2013-01-11 17:37 ` Daniel De Graaf
2013-01-15 11:18 ` Ian Campbell
2013-01-15 11:52 ` Stefano Stabellini
2013-01-15 13:42 ` Ian Campbell
2013-01-15 14:35 ` Daniel De Graaf
2013-01-17 17:05 ` Ian Campbell
2013-01-17 17:13 ` Daniel De Graaf
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=CD15C86C.583A7%keir@xen.org \
--to=keir@xen.org \
--cc=Lars.Rasmusson@sics.se \
--cc=lra@sics.se \
--cc=xen-devel@lists.xen.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;
as well as URLs for NNTP newsgroup(s).