From: Mark McLoughlin Date: Wed, 2 Apr 2008 14:36:38 +0000 (+0100) Subject: xen: Clear PG_pinned in release_{pt,pd}() X-Git-Tag: v2.6.25-rc9~67^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c946c7de49a9ba50bc205d6359b41bbc8f01174c;p=linux-2.6-omap-h63xx.git xen: Clear PG_pinned in release_{pt,pd}() Signed-off-by: Mark McLoughlin Cc: xen-devel@lists.xensource.com Cc: Mark McLoughlin Cc: Jeremy Fitzhardinge Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index f16b056e5c5..27ee26aedf9 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -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); } }