xen: Clear PG_pinned in release_{pt,pd}()
authorMark McLoughlin <markmc@redhat.com>
Wed, 2 Apr 2008 14:36:38 +0000 (15:36 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 4 Apr 2008 16:36:48 +0000 (18:36 +0200)
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Cc: xen-devel@lists.xensource.com
Cc: Mark McLoughlin <markmc@redhat.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/xen/enlighten.c

index f16b056e5c567ca6e33be9f76155bef54910176b..27ee26aedf941d98e2cdaf5e8fa90ba1a7ee5930 100644 (file)
@@ -717,6 +717,7 @@ static void xen_release_ptpage(u32 pfn, unsigned level)
                                pin_pagetable_pfn(MMUEXT_UNPIN_TABLE, pfn);
                        make_lowmem_page_readwrite(__va(PFN_PHYS(pfn)));
                }
+               ClearPagePinned(page);
        }
 }