]> git.baikalelectronics.ru Git - kernel.git/commit
x86/kaslr: Eliminate 'start_orig' local variable from __process_mem_region()
authorArvind Sankar <nivedita@alum.mit.edu>
Tue, 28 Jul 2020 22:57:08 +0000 (18:57 -0400)
committerIngo Molnar <mingo@kernel.org>
Fri, 31 Jul 2020 09:08:17 +0000 (11:08 +0200)
commit37569b85fb216598a179ef7cbe3bcf7a1d2def63
tree0f486be65e84409f0a173bfb2ff393f3fa369576
parente34e51e8181a00e09de64c348f486d48b8dad1bb
x86/kaslr: Eliminate 'start_orig' local variable from __process_mem_region()

Set the region.size within the loop, which removes the need for
start_orig.

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-8-nivedita@alum.mit.edu
arch/x86/boot/compressed/kaslr.c