Two final cleanups for the x86 startup code, one that helps the compiler generate better code, by annotating a helper function with the 'const' function attribute, and one that fixes the misalignment of the stack in mixed mode. There are no known issues regarding entering the 32-bit firmware from the 64-bit kernel with the stack misaligned, and the 32-bit kernel does so all the time, but it is better to comply with the UEFI spec. Ard Biesheuvel (2): efi/libstub/x86: use const attribute for efi_is_64bit() efi/libstub/x86: use mandatory 16-byte stack alignment in mixed mode arch/x86/boot/compressed/eboot.c | 14 +++--- arch/x86/boot/compressed/efi_thunk_64.S | 46 ++++++-------------- arch/x86/boot/compressed/head_64.S | 7 ++- arch/x86/include/asm/efi.h | 2 +- 4 files changed, 23 insertions(+), 46 deletions(-) -- 2.20.1