[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] mm.c: use local variable domain pointer



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1213778066 -3600
# Node ID f838d60e7d8d5ec3aeb3c35f073a0764520e9ce3
# Parent  21e1daf19b961c34f0709e0e652eab2a863f7a1b
mm.c: use local variable domain pointer
Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
 xen/arch/x86/mm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 21e1daf19b96 -r f838d60e7d8d xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Wed Jun 18 09:32:50 2008 +0100
+++ b/xen/arch/x86/mm.c Wed Jun 18 09:34:26 2008 +0100
@@ -3086,7 +3086,7 @@ int do_update_va_mapping(unsigned long v
     if ( unlikely(!access_ok(va, 1) && !paging_mode_external(d)) )
         return -EINVAL;
 
-    rc = xsm_update_va_mapping(current->domain, val);
+    rc = xsm_update_va_mapping(d, val);
     if ( rc )
         return rc;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.