Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11273
b: refs/heads/master
c: 750ccf6
h: refs/heads/master
i:
  11271: 9d27ba3
v: v3
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Oct 29, 2005
1 parent 65d8e41 commit f919a81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f4c72cc737561aab0d9c7f877abbc0a853f1c465
refs/heads/master: 750ccf687ff9adbf2a16066a3a2757d0f761384c
2 changes: 2 additions & 0 deletions trunk/arch/mips/mm/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ EXPORT_SYMBOL(_dma_cache_inv);
asmlinkage int sys_cacheflush(unsigned long __user addr,
unsigned long bytes, unsigned int cache)
{
if (bytes == 0)
return 0;
if (!access_ok(VERIFY_WRITE, (void __user *) addr, bytes))
return -EFAULT;

Expand Down

0 comments on commit f919a81

Please sign in to comment.