From: Ard Biesheuvel Date: Mon, 17 Nov 2014 12:46:44 +0000 (+0100) Subject: efi: efistub: allow allocation alignment larger than EFI_PAGE_SIZE X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~117^2~33^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf2b0f102cdf912eedb87b10271fa0ad582cf2c1;p=pandora-kernel.git 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 Acked-by: Borislav Petkov Tested-by: Leif Lindholm Signed-off-by: Ard Biesheuvel --- Reading git-diff-tree failed