diff options
author | Ben Collins <bcollins@debian.org> | 2005-11-29 14:45:26 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-29 15:57:17 -0500 |
commit | eca351336acb2fa943611e0846562ce3997ef53b (patch) | |
tree | 9b7b022d7b2d5f2f23bc979fa8bf5c1e418456bd /mm/rmap.c | |
parent | d70aa5e4b54aa7e704c886838715ac8a45d5750f (diff) |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -641,7 +641,7 @@ static void try_to_unmap_cluster(unsigned long cursor, | |||
641 | continue; | 641 | continue; |
642 | 642 | ||
643 | /* Nuke the page table entry. */ | 643 | /* Nuke the page table entry. */ |
644 | flush_cache_page(vma, address, pfn); | 644 | flush_cache_page(vma, address, pte_pfn(*pte)); |
645 | pteval = ptep_clear_flush(vma, address, pte); | 645 | pteval = ptep_clear_flush(vma, address, pte); |
646 | 646 | ||
647 | /* If nonlinear, store the file page offset in the pte. */ | 647 | /* If nonlinear, store the file page offset in the pte. */ |