ia64/xen-unstable

changeset 10276:2a0208b33c30

Fix map_pages_to_xen() when deallocating l1 page tables.
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
author kfraser@dhcp93.uk.xensource.com
date Thu Jun 01 11:04:06 2006 +0100 (2006-06-01)
parents 121ec8b952d3
children 275955c6df9d
files xen/arch/x86/mm.c
line diff
     1.1 --- a/xen/arch/x86/mm.c	Thu Jun 01 10:50:33 2006 +0100
     1.2 +++ b/xen/arch/x86/mm.c	Thu Jun 01 11:04:06 2006 +0100
     1.3 @@ -3698,7 +3698,7 @@ int map_pages_to_xen(
     1.4              {
     1.5                  local_flush_tlb_pge();
     1.6                  if ( !(l2e_get_flags(ol2e) & _PAGE_PSE) )
     1.7 -                    free_xen_pagetable(l2e_get_page(*pl2e));
     1.8 +                    free_xen_pagetable(l2e_get_page(ol2e));
     1.9              }
    1.10  
    1.11              virt    += 1UL << L2_PAGETABLE_SHIFT;