x86/kaslr: Make minimum/image_size 'unsigned long'
authorArvind Sankar <nivedita@alum.mit.edu>
Tue, 28 Jul 2020 22:57:19 +0000 (18:57 -0400)
committerIngo Molnar <mingo@kernel.org>
Fri, 31 Jul 2020 09:08:17 +0000 (11:08 +0200)
commite4cb955bf173474a61f56200610004aacc7a62ff
treec7cfe94c4501429ad715225ee6fac41eb32e0aee
parent4268b4da572f8bde8bc2f3243927ff5795687a6f
x86/kaslr: Make minimum/image_size 'unsigned long'

Change type of minimum/image_size arguments in process_mem_region to
'unsigned long'. These actually can never be above 4G (even on x86_64),
and they're 'unsigned long' in every other function except this one.

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