From: kfraser@dhcp93.uk.xensource.com Date: Thu, 1 Jun 2006 10:04:06 +0000 (+0100) Subject: Fix map_pages_to_xen() when deallocating l1 page tables. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15972^2~59 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4371b40bcf616ab0d2b2e794d9b96fa19eeae056;p=xen.git Fix map_pages_to_xen() when deallocating l1 page tables. Signed-off-by: Muli Ben-Yehuda --- diff --git a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c index 975c6955b5..55c1e78334 100644 --- a/xen/arch/x86/mm.c +++ b/xen/arch/x86/mm.c @@ -3698,7 +3698,7 @@ int map_pages_to_xen( { local_flush_tlb_pge(); if ( !(l2e_get_flags(ol2e) & _PAGE_PSE) ) - free_xen_pagetable(l2e_get_page(*pl2e)); + free_xen_pagetable(l2e_get_page(ol2e)); } virt += 1UL << L2_PAGETABLE_SHIFT;