x86/efistub: Avoid placing the kernel below LOAD_PHYSICAL_ADDR
[linux-2.6-microblaze.git] / drivers / firmware / efi / libstub / x86-stub.c
index cb0be88..99429bc 100644 (file)
@@ -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,
+                                 LOAD_PHYSICAL_ADDR,
                                  EFI_X86_KERNEL_ALLOC_LIMIT);
        if (status != EFI_SUCCESS)
                return status;