]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
x86, boot: Don't compile aslr.c when !CONFIG_RANDOMIZE_BASE
authorJosh Triplett <josh@joshtriplett.org>
Mon, 10 Mar 2014 20:11:26 +0000 (13:11 -0700)
committerJosh Triplett <josh@joshtriplett.org>
Sun, 17 Aug 2014 21:58:24 +0000 (14:58 -0700)
commit9e6abd2a98ca599e0efb8c46acc17f17dc1a6fe9
treefe4e6b44df6be66c40bf0fda83b4a2a5c5e928a9
parent9a1cb47112eff140659f04c261ca19fb1f002607
x86, boot: Don't compile aslr.c when !CONFIG_RANDOMIZE_BASE

All the code in aslr.c gets compiled out if !CONFIG_RANDOMIZE_BASE, but
aslr.o itself still gets compiled in.  Eliminate it from the compile
entirely in that case.

This does not change the generated code at all, in either case.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
arch/x86/boot/compressed/Makefile
arch/x86/boot/compressed/aslr.c