Commit 8173e595 authored by Russell King's avatar Russell King

[ARM] Fix flush_cache_page address parameter.

Noticed by Jun Sun.
parent 596ad8e3
...@@ -213,7 +213,7 @@ void __flush_dcache_page(struct page *page) ...@@ -213,7 +213,7 @@ void __flush_dcache_page(struct page *page)
if (off >= (mpnt->vm_end - mpnt->vm_start) >> PAGE_SHIFT) if (off >= (mpnt->vm_end - mpnt->vm_start) >> PAGE_SHIFT)
continue; continue;
flush_cache_page(mpnt, off); flush_cache_page(mpnt, mpnt->vm_start + (off << PAGE_SHIFT));
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment