ia64/xen-unstable

changeset 19496:6dc5c26a75b9

x86: A further fix to paging_log_dirty_op() -- do not unmap_domain_page(NULL)

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Apr 02 07:53:11 2009 +0100 (2009-04-02)
parents b5e7c26835c9
children 2f6ed9318c03
files xen/arch/x86/mm/paging.c
line diff
     1.1 --- a/xen/arch/x86/mm/paging.c	Wed Apr 01 16:20:30 2009 +0100
     1.2 +++ b/xen/arch/x86/mm/paging.c	Thu Apr 02 07:53:11 2009 +0100
     1.3 @@ -430,7 +430,8 @@ int paging_log_dirty_op(struct domain *d
     1.4          if ( l3 )
     1.5              unmap_domain_page(l3);
     1.6      }
     1.7 -    unmap_domain_page(l4);
     1.8 +    if ( l4 )
     1.9 +        unmap_domain_page(l4);
    1.10  
    1.11      if ( pages < sc->pages )
    1.12          sc->pages = pages;