summaryrefslogtreecommitdiff
path: root/mm/rmap.c
diff options
context:
space:
mode:
authorBen Collins <bcollins@debian.org>2005-11-29 11:45:26 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-29 12:57:17 -0800
commiteca351336acb2fa943611e0846562ce3997ef53b (patch)
tree9b7b022d7b2d5f2f23bc979fa8bf5c1e418456bd /mm/rmap.c
parentd70aa5e4b54aa7e704c886838715ac8a45d5750f (diff)
downloadlinux-3.10-eca351336acb2fa943611e0846562ce3997ef53b.tar.gz
linux-3.10-eca351336acb2fa943611e0846562ce3997ef53b.tar.bz2
linux-3.10-eca351336acb2fa943611e0846562ce3997ef53b.zip
[PATCH] Fix missing pfn variables caused by vm changes
I image this showed up because of "unused var..." when the changes occured, because flush_cache_page() is a noop in most places. This showed up for me on parisc however, where flush_cache_page() is a real function. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/rmap.c')
-rw-r--r--mm/rmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/rmap.c b/mm/rmap.c
index 491ac350048..f853c6def15 100644
--- 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. */