xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xsm_remove_from_physmap is (so far) only defined for X86 architecture, not for ARM
@ 2013-01-11 13:32 lra
  2013-01-11 13:40 ` Ian Campbell
  2013-01-11 13:47 ` Keir Fraser
  0 siblings, 2 replies; 13+ messages in thread
From: lra @ 2013-01-11 13:32 UTC (permalink / raw)
  To: xen-devel; +Cc: Lars Rasmusson

From: Lars Rasmusson <Lars.Rasmusson@sics.se>

Signed-off-by: Lars Rasmusson <Lars.Rasmusson@sics.se>
---
 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);
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-01-17 17:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).