diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2014-11-17 12:46:44 (GMT) |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-01-12 08:17:00 (GMT) |
commit | cf2b0f102cdf912eedb87b10271fa0ad582cf2c1 (patch) | |
tree | 0ca4f7122012289593bb8cb12eed4d3bbd8ce98e /mm/slab_common.c | |
parent | 7bb68410ef22067b08fd52887875b8f337f89dcc (diff) | |
download | linux-cf2b0f102cdf912eedb87b10271fa0ad582cf2c1.tar.xz |
efi: efistub: allow allocation alignment larger than EFI_PAGE_SIZE
On systems with 64 KB pages, it is preferable for UEFI memory map
entries to be 64 KB aligned multiples of 64 KB, because it relieves
us of having to deal with the residues.
So, if EFI_ALLOC_ALIGN is #define'd by the platform, use it to round
up all memory allocations made.
Acked-by: Matt Fleming <matt.fleming@intel.com>
Acked-by: Borislav Petkov <bp@suse.de>
Tested-by: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'mm/slab_common.c')
0 files changed, 0 insertions, 0 deletions