diff options
Diffstat (limited to 'arch/mips/mm/cache.c')
-rw-r--r-- | arch/mips/mm/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/cache.c b/arch/mips/mm/cache.c index 70a523151ff3..55099fbff4e6 100644 --- a/arch/mips/mm/cache.c +++ b/arch/mips/mm/cache.c | |||
@@ -76,7 +76,7 @@ SYSCALL_DEFINE3(cacheflush, unsigned long, addr, unsigned long, bytes, | |||
76 | { | 76 | { |
77 | if (bytes == 0) | 77 | if (bytes == 0) |
78 | return 0; | 78 | return 0; |
79 | if (!access_ok(VERIFY_WRITE, (void __user *) addr, bytes)) | 79 | if (!access_ok((void __user *) addr, bytes)) |
80 | return -EFAULT; | 80 | return -EFAULT; |
81 | 81 | ||
82 | __flush_icache_user_range(addr, addr + bytes); | 82 | __flush_icache_user_range(addr, addr + bytes); |