Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86610
b: refs/heads/master
c: 9ae3ae0
h: refs/heads/master
v: v3
  • Loading branch information
Alexandre Rusev authored and Russell King committed Feb 29, 2008
1 parent 0148d57 commit bc35d47
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: c710e39cbec4f3d60acd07f5356404a61bc1959a
refs/heads/master: 9ae3ae0bebb9a3a348dc233229008b126014889d
2 changes: 2 additions & 0 deletions trunk/arch/arm/mm/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr,
*/
int valid_phys_addr_range(unsigned long addr, size_t size)
{
if (addr < PHYS_OFFSET)
return 0;
if (addr + size > __pa(high_memory))
return 0;

Expand Down

0 comments on commit bc35d47

Please sign in to comment.