diff options
author | Kamal Dasu <kdasu.kdev@gmail.com> | 2013-06-14 19:10:03 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-08-26 15:26:48 +0200 |
commit | 5b167c123b3c3582f62cf1896465019bc40fe526 (patch) | |
tree | 2deef8956db6c917fad2a58e651b609d4b412588 /arch/frv/lib | |
parent | Linux 3.11-rc7 (diff) | |
download | linux-5b167c123b3c3582f62cf1896465019bc40fe526.tar.xz linux-5b167c123b3c3582f62cf1896465019bc40fe526.zip |
MIPS: Fix get_user_page_fast() for mips with cache alias
get_user_pages_fast() is missing cache flushes for MIPS platforms with
cache aliases. Filesystem failures observed with DirectIO operations due
to missing flush_anon_page() that use page coloring logic to work with
cache aliases. This fix falls through to take slow_irqon path that calls
get_user_pages() that has required logic for platforms where
cpu_has_dc_aliases is true.
[ralf@linux-mips.org: Explicity include <asm/cpu-features.h>.]
Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/5469/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/frv/lib')
0 files changed, 0 insertions, 0 deletions