Re: [PATCH 08/18] Generalize relocate_kernel() for use by otherarchitectures.

From: Matt Fleming
Date: Wed Sep 25 2013 - 08:01:32 EST

On Sun, 22 Sep, at 03:45:32PM, Roy Franz wrote:
> Rename relocate_kernel() to efi_relocate_kernel(), and take
> parameters rather than x86 specific structure. Add max_addr
> argument as for ARM we have some address constraints that we
> need to enforce when relocating the kernel. Add alloc_size
> parameter for use by ARM64 which uses an uncompressed kernel,
> and needs to allocate space for BSS.
> Signed-off-by: Roy Franz <roy.franz@xxxxxxxxxx>
> ---
> arch/x86/boot/compressed/eboot.c | 10 ++++-
> drivers/firmware/efi/efi-stub-helper.c | 72 ++++++++++++++++++++++----------
> 2 files changed, 59 insertions(+), 23 deletions(-)


I fixed up these multi-line comments too.

Matt Fleming, Intel Open Source Technology Center
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at