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)
commitee435ee6490d147c1b9963cc8b331665e4cea634
tree0f486be65e84409f0a173bfb2ff393f3fa369576
parent3f9412c73053a5be311607e42560c1303a873be7
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