mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
powerpc+sparc64/mm: Remove hack in mmap randomize layout
Since commit8a0a9bd4db, this comment in mmap_rnd() does not hold true as the value returned by get_random_int() will in fact be different every single call. Remove the comment and simplify the code back to its original desired form. This reverts commita5adc91a4bwhich is no longer necessary and also fixes the sparc code that copied this same adjustment. Signed-off-by: Dan McGee <dpmcgee@gmail.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
3ce21cdfe9
commit
fa8cbaaf5a
2 changed files with 6 additions and 14 deletions
Loading…
Add table
Add a link
Reference in a new issue