projects
/
linux-2.6-microblaze.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
[linux-2.6-microblaze.git]
/
drivers
/
firmware
/
efi
/
libstub
/
x86-stub.c
diff --git
a/drivers/firmware/efi/libstub/x86-stub.c
b/drivers/firmware/efi/libstub/x86-stub.c
index
cb0be88
..
99429bc
100644
(file)
--- a/
drivers/firmware/efi/libstub/x86-stub.c
+++ b/
drivers/firmware/efi/libstub/x86-stub.c
@@
-799,6
+799,7
@@
static efi_status_t efi_decompress_kernel(unsigned long *kernel_entry)
status = efi_random_alloc(alloc_size, CONFIG_PHYSICAL_ALIGN, &addr,
seed[0], EFI_LOADER_CODE,
status = efi_random_alloc(alloc_size, CONFIG_PHYSICAL_ALIGN, &addr,
seed[0], EFI_LOADER_CODE,
+ LOAD_PHYSICAL_ADDR,
EFI_X86_KERNEL_ALLOC_LIMIT);
if (status != EFI_SUCCESS)
return status;
EFI_X86_KERNEL_ALLOC_LIMIT);
if (status != EFI_SUCCESS)
return status;