projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: use get_random_u32() when possible
[linux-block.git]
/
arch
/
s390
/
mm
/
mmap.c
diff --git
a/arch/s390/mm/mmap.c
b/arch/s390/mm/mmap.c
index 5980ce3488325c5869499da117d919698638fb00..3327c47bc18149826339d49fa5cf48b7ecee5d1a 100644
(file)
--- a/
arch/s390/mm/mmap.c
+++ b/
arch/s390/mm/mmap.c
@@
-37,7
+37,7
@@
static inline int mmap_is_legacy(struct rlimit *rlim_stack)
unsigned long arch_mmap_rnd(void)
{
- return (get_random_
int
() & MMAP_RND_MASK) << PAGE_SHIFT;
+ return (get_random_
u32
() & MMAP_RND_MASK) << PAGE_SHIFT;
}
static unsigned long mmap_base_legacy(unsigned long rnd)