]> err.no Git - linux-2.6/blobdiff - mm/rmap.c
[PATCH] memhotplug: __add_section remove unused pgdat definition
[linux-2.6] / mm / rmap.c
index 491ac350048f2546c8aa5c09a2f7356a46e22993..f853c6def15915602e484afdd3a741099d543887 100644 (file)
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -641,7 +641,7 @@ static void try_to_unmap_cluster(unsigned long cursor,
                        continue;
 
                /* Nuke the page table entry. */
-               flush_cache_page(vma, address, pfn);
+               flush_cache_page(vma, address, pte_pfn(*pte));
                pteval = ptep_clear_flush(vma, address, pte);
 
                /* If nonlinear, store the file page offset in the pte. */