Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286914
b: refs/heads/master
c: 3c424f3
h: refs/heads/master
v: v3
  • Loading branch information
Pawel Moll authored and Russell King committed Jan 27, 2012
1 parent 2c6573f commit 7d69f8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9a95b9e7416c2e7fa799e54078a1adf84a7ed0bf
refs/heads/master: 3c424f359898aff48c3d5bed608ac706f8a528c3
3 changes: 2 additions & 1 deletion trunk/arch/arm/mm/ioremap.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ void __iomem * __arm_ioremap_pfn_caller(unsigned long pfn,
if ((area->flags & VM_ARM_MTYPE_MASK) != VM_ARM_MTYPE(mtype))
continue;
if (__phys_to_pfn(area->phys_addr) > pfn ||
__pfn_to_phys(pfn) + size-1 > area->phys_addr + area->size-1)
__pfn_to_phys(pfn) + offset + size-1 >
area->phys_addr + area->size-1)
continue;
/* we can drop the lock here as we know *area is static */
read_unlock(&vmlist_lock);
Expand Down

0 comments on commit 7d69f8b

Please sign in to comment.