Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166761
b: refs/heads/master
c: 6806bfe
h: refs/heads/master
i:
  166759: a89ec24
v: v3
  • Loading branch information
Greg Ungerer authored and Russell King committed Oct 2, 2009
1 parent b6140fd commit 9e3afda
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 31abdb744179159f8b605f56da5b197b188e1689
refs/heads/master: 6806bfe18fca92e2001538b84cab5f63c5ea4bed
2 changes: 1 addition & 1 deletion trunk/arch/arm/mm/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ int valid_phys_addr_range(unsigned long addr, size_t size)
{
if (addr < PHYS_OFFSET)
return 0;
if (addr + size >= __pa(high_memory - 1))
if (addr + size > __pa(high_memory - 1) + 1)
return 0;

return 1;
Expand Down

0 comments on commit 9e3afda

Please sign in to comment.