aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2017-08-15 15:40:11 +0000
committerThomas Gleixner <[email protected]>2017-08-16 18:32:02 +0000
commit01578e36163cdd0e4fd61d9976de15f13364e26d (patch)
tree86533cfa0a449da9da60106db7e198502a0a65c1 /net/switchdev/switchdev.c
parentx86: Fix norandmaps/ADDR_NO_RANDOMIZE (diff)
downloadkernel-01578e36163cdd0e4fd61d9976de15f13364e26d.tar.gz
kernel-01578e36163cdd0e4fd61d9976de15f13364e26d.zip
x86/elf: Remove the unnecessary ADDR_NO_RANDOMIZE checks
The ADDR_NO_RANDOMIZE checks in stack_maxrandom_size() and randomize_stack_top() are not required. PF_RANDOMIZE is set by load_elf_binary() only if ADDR_NO_RANDOMIZE is not set, no need to re-check after that. Signed-off-by: Oleg Nesterov <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Dmitry Safonov <[email protected]> Cc: [email protected] Cc: Andy Lutomirski <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: "Kirill A. Shutemov" <[email protected]> Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions