summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/boot.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2016-05-06 12:44:59 -0700
committerIngo Molnar <mingo@kernel.org>2016-05-07 07:38:38 +0200
commited09acde44e301b5c13755ab84821fa44b188b5e (patch)
treee365999f82240d43fb7daf7274af16d86bcff804 /arch/x86/include/asm/boot.h
parent549f90db68c9f8e21a40ec21c8047441984e7164 (diff)
downloadblackbird-obmc-linux-ed09acde44e301b5c13755ab84821fa44b188b5e.tar.gz
blackbird-obmc-linux-ed09acde44e301b5c13755ab84821fa44b188b5e.zip
x86/KASLR: Improve comments around the mem_avoid[] logic
This attempts to improve the comments that describe how the memory range used for decompression is avoided. Additionally uses an enum instead of raw numbers for the mem_avoid[] indexing. Suggested-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Kees Cook <keescook@chromium.org> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Andy Lutomirski <luto@kernel.org> Cc: Baoquan He <bhe@redhat.com> Cc: Borislav Petkov <bp@suse.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Yinghai Lu <yinghai@kernel.org> Link: http://lkml.kernel.org/r/20160506194459.GA16480@www.outflux.net Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/boot.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud