diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/boot/compressed/aslr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boot/compressed/aslr.c b/arch/x86/boot/compressed/aslr.c index d39189ba7f8e..f302dc45ce08 100644 --- a/arch/x86/boot/compressed/aslr.c +++ b/arch/x86/boot/compressed/aslr.c | |||
@@ -195,7 +195,7 @@ static bool mem_avoid_overlap(struct mem_vector *img) | |||
195 | while (ptr) { | 195 | while (ptr) { |
196 | struct mem_vector avoid; | 196 | struct mem_vector avoid; |
197 | 197 | ||
198 | avoid.start = (u64)ptr; | 198 | avoid.start = (unsigned long)ptr; |
199 | avoid.size = sizeof(*ptr) + ptr->len; | 199 | avoid.size = sizeof(*ptr) + ptr->len; |
200 | 200 | ||
201 | if (mem_overlaps(img, &avoid)) | 201 | if (mem_overlaps(img, &avoid)) |