Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283521
b: refs/heads/master
c: 9af0c7a
h: refs/heads/master
i:
  283519: f303c8b
v: v3
  • Loading branch information
Ludwig Nussel authored and Ingo Molnar committed Dec 5, 2011
1 parent 382ce2d commit b88ca01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 176239153049a023d060ce95b05f7ef31667e362
refs/heads/master: 9af0c7a6fa860698d080481f24a342ba74b68982
4 changes: 2 additions & 2 deletions trunk/arch/x86/mm/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ static unsigned long mmap_rnd(void)
*/
if (current->flags & PF_RANDOMIZE) {
if (mmap_is_ia32())
rnd = (long)get_random_int() % (1<<8);
rnd = get_random_int() % (1<<8);
else
rnd = (long)(get_random_int() % (1<<28));
rnd = get_random_int() % (1<<28);
}
return rnd << PAGE_SHIFT;
}
Expand Down

0 comments on commit b88ca01

Please sign in to comment.