Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191708
b: refs/heads/master
c: dfbca89
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed May 11, 2010
1 parent 833e85e commit a07a504
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: 4bc277ac9cae60e11fe2e557e4ea4acb56d3dc9a
refs/heads/master: dfbca89987b74c34d9b1a2414b0e5ccee65347e0
2 changes: 2 additions & 0 deletions trunk/arch/sh/mm/pmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ int pmb_bolt_mapping(unsigned long vaddr, phys_addr_t phys,
unsigned long flags, pmb_flags;
int i, mapped;

if (size < SZ_16M)
return -EINVAL;
if (!pmb_addr_valid(vaddr, size))
return -EFAULT;
if (pmb_mapping_exists(vaddr, phys, size))
Expand Down

0 comments on commit a07a504

Please sign in to comment.