From: Ard Biesheuvel Date: Mon, 17 Nov 2014 12:50:21 +0000 (+0100) Subject: arm64/efi: set EFI_ALLOC_ALIGN to 64 KB X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1bd0abb0c924a8b28c6466cdd6bb34ea053541dc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arm64/efi: set EFI_ALLOC_ALIGN to 64 KB Set EFI_ALLOC_ALIGN to 64 KB so that all allocations done by the stub are naturally compatible with a 64 KB granule kernel. Acked-by: Leif Lindholm Tested-by: Leif Lindholm Signed-off-by: Ard Biesheuvel --- diff --git a/arch/arm64/include/asm/efi.h b/arch/arm64/include/asm/efi.h index a34fd3b12e2b..71291253114f 100644 --- a/arch/arm64/include/asm/efi.h +++ b/arch/arm64/include/asm/efi.h @@ -44,4 +44,6 @@ extern void efi_idmap_init(void); #define efi_call_early(f, ...) sys_table_arg->boottime->f(__VA_ARGS__) +#define EFI_ALLOC_ALIGN SZ_64K + #endif /* _ASM_EFI_H */