]> git.baikalelectronics.ru Git - kernel.git/commit
x86/kaslr: Drop redundant cur_entry from __process_mem_region()
authorArvind Sankar <nivedita@alum.mit.edu>
Tue, 28 Jul 2020 22:57:07 +0000 (18:57 -0400)
committerIngo Molnar <mingo@kernel.org>
Fri, 31 Jul 2020 09:08:17 +0000 (11:08 +0200)
commite34e51e8181a00e09de64c348f486d48b8dad1bb
treee42f6e6d9a5aeb739eea18a50595107f604c46cb
parentf44978ece147e678c8fa4ec33a741bd7e7a2b50d
x86/kaslr: Drop redundant cur_entry from __process_mem_region()

cur_entry is only used as cur_entry.start + cur_entry.size, which is
always equal to end.

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200728225722.67457-7-nivedita@alum.mit.edu
arch/x86/boot/compressed/kaslr.c