]> git.baikalelectronics.ru Git - kernel.git/commit
x86/kaslr: Small cleanup of find_random_phys_addr()
authorArvind Sankar <nivedita@alum.mit.edu>
Tue, 28 Jul 2020 22:57:18 +0000 (18:57 -0400)
committerIngo Molnar <mingo@kernel.org>
Fri, 31 Jul 2020 09:08:17 +0000 (11:08 +0200)
commita225288ca490723501177aa4ebc51bdf2ab99f2f
tree5f161e212f407c84af65729408eb7f2957343fd9
parentb0287cdc647e7f01c0701e94f5d194778358d01d
x86/kaslr: Small cleanup of find_random_phys_addr()

Just a trivial rearrangement to do all the processing together, and only
have one call to slots_fetch_random() in the source.

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