ia64/xen-unstable

changeset 17875:f838d60e7d8d

mm.c: use local variable domain pointer
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Jun 18 09:34:26 2008 +0100 (2008-06-18)
parents 21e1daf19b96
children 8a0656950b1c
files xen/arch/x86/mm.c
line diff
     1.1 --- a/xen/arch/x86/mm.c	Wed Jun 18 09:32:50 2008 +0100
     1.2 +++ b/xen/arch/x86/mm.c	Wed Jun 18 09:34:26 2008 +0100
     1.3 @@ -3086,7 +3086,7 @@ int do_update_va_mapping(unsigned long v
     1.4      if ( unlikely(!access_ok(va, 1) && !paging_mode_external(d)) )
     1.5          return -EINVAL;
     1.6  
     1.7 -    rc = xsm_update_va_mapping(current->domain, val);
     1.8 +    rc = xsm_update_va_mapping(d, val);
     1.9      if ( rc )
    1.10          return rc;
    1.11