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

[Xen-changelog] [xen-3.0-testing] Fix map_pages_to_xen() when deallocating l1 page tables.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 78a72d42cfc19c06097a92b8d0f824d823813c79
# Parent  29ed4e0fdeae52cb19c4425cff182046a050249e
Fix map_pages_to_xen() when deallocating l1 page tables.
Signed-off-by: Muli Ben-Yehuda <muli@xxxxxxxxxx>
xen-unstable changeset:   10238:2a0208b33c3075d770ffaa647137432efd3b8eb9
xen-unstable date:        Thu Jun 01 11:04:06 2006 +0100
---
 xen/arch/x86/mm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 29ed4e0fdeae -r 78a72d42cfc1 xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Thu Jun 01 11:00:13 2006 +0100
+++ b/xen/arch/x86/mm.c Thu Jun 01 11:05:13 2006 +0100
@@ -3548,7 +3548,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;

_______________________________________________
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®.