Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63919
b: refs/heads/master
c: d1f5a77
h: refs/heads/master
i:
  63917: 2c23574
  63915: 9ab13c1
  63911: aebb724
  63903: 8056f58
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Paul Mackerras committed Aug 10, 2007
1 parent 0f3a8b8 commit a1a6197
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: 8f2ea1fd3f97ab7a809e939b5b9005a16f862439
refs/heads/master: d1f5a77f2c9db5b8a565eabdf8b534b02e32cc44
2 changes: 2 additions & 0 deletions trunk/arch/powerpc/mm/slice.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,8 @@ unsigned long slice_get_unmapped_area(unsigned long addr, unsigned long len,

if (len > mm->task_size)
return -ENOMEM;
if (len & ((1ul << pshift) - 1))
return -EINVAL;
if (fixed && (addr & ((1ul << pshift) - 1)))
return -EINVAL;
if (fixed && addr > (mm->task_size - len))
Expand Down

0 comments on commit a1a6197

Please sign in to comment.