mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-31 19:45:21 +00:00
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>
This commit is contained in:
parent
cf2b0f102c
commit
1bd0abb0c9
1 changed files with 2 additions and 0 deletions
|
@ -44,4 +44,6 @@ extern void efi_idmap_init(void);
|
||||||
|
|
||||||
#define efi_call_early(f, ...) sys_table_arg->boottime->f(__VA_ARGS__)
|
#define efi_call_early(f, ...) sys_table_arg->boottime->f(__VA_ARGS__)
|
||||||
|
|
||||||
|
#define EFI_ALLOC_ALIGN SZ_64K
|
||||||
|
|
||||||
#endif /* _ASM_EFI_H */
|
#endif /* _ASM_EFI_H */
|
||||||
|
|
Loading…
Add table
Reference in a new issue