From: David Woodhouse Date: Mon, 7 Jan 2013 22:01:50 +0000 (+0000) Subject: x86, efi: Fix 32-bit EFI handover protocol entry point X-Git-Tag: v3.8-rc6~5^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f791620fa7517e1045742c475a7f005db9a634b8;p=pandora-kernel.git x86, efi: Fix 32-bit EFI handover protocol entry point If the bootloader calls the EFI handover entry point as a standard function call, then it'll have a return address on the stack. We need to pop that before calling efi_main(), or the arguments will all be out of position on the stack. Signed-off-by: David Woodhouse Cc: Link: http://lkml.kernel.org/r/1358513837.2397.247.camel@shinybook.infradead.org Signed-off-by: H. Peter Anvin Cc: Matt Fleming --- Reading git-diff-tree failed