OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf2b0f1
)
arm64/efi: set EFI_ALLOC_ALIGN to 64 KB
author
Ard Biesheuvel
<ard.biesheuvel@linaro.org>
Mon, 17 Nov 2014 12:50:21 +0000
(13:50 +0100)
committer
Ard Biesheuvel
<ard.biesheuvel@linaro.org>
Mon, 12 Jan 2015 08:17:13 +0000
(08:17 +0000)
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>
arch/arm64/include/asm/efi.h
patch
|
blob
|
history
diff --git
a/arch/arm64/include/asm/efi.h
b/arch/arm64/include/asm/efi.h
index
a34fd3b
..
7129125
100644
(file)
--- 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 */