summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include
diff options
context:
space:
mode:
authorArd Biesheuvel2014-11-17 13:50:21 +0100
committerArd Biesheuvel2015-01-12 09:17:13 +0100
commit1bd0abb0c924a8b28c6466cdd6bb34ea053541dc (patch)
treee67e0544248da1c0527335c05d4b6997c0ac34ae /arch/arm64/include
parentefi: efistub: allow allocation alignment larger than EFI_PAGE_SIZE (diff)
downloadkernel-qcow2-linux-1bd0abb0c924a8b28c6466cdd6bb34ea053541dc.tar.gz
kernel-qcow2-linux-1bd0abb0c924a8b28c6466cdd6bb34ea053541dc.tar.xz
kernel-qcow2-linux-1bd0abb0c924a8b28c6466cdd6bb34ea053541dc.zip
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 <leif.lindholm@linaro.org> Tested-by: Leif Lindholm <leif.lindholm@linaro.org> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r--arch/arm64/include/asm/efi.h2
1 files changed, 2 insertions, 0 deletions
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 */