projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/efistub: Avoid placing the kernel below LOAD_PHYSICAL_ADDR
[platform/kernel/linux-starfive.git]
/
drivers
/
firmware
/
efi
/
libstub
/
zboot.c
diff --git
a/drivers/firmware/efi/libstub/zboot.c
b/drivers/firmware/efi/libstub/zboot.c
index
bdb17ea
..
1ceace9
100644
(file)
--- a/
drivers/firmware/efi/libstub/zboot.c
+++ b/
drivers/firmware/efi/libstub/zboot.c
@@
-119,7
+119,7
@@
efi_zboot_entry(efi_handle_t handle, efi_system_table_t *systab)
}
status = efi_random_alloc(alloc_size, min_kimg_align, &image_base,
- seed, EFI_LOADER_CODE, EFI_ALLOC_LIMIT);
+ seed, EFI_LOADER_CODE,
0,
EFI_ALLOC_LIMIT);
if (status != EFI_SUCCESS) {
efi_err("Failed to allocate memory\n");
goto free_cmdline;