diff options
author | David Woodhouse <[email protected]> | 2013-01-07 22:01:50 +0000 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2013-01-27 20:19:37 -0800 |
commit | f791620fa7517e1045742c475a7f005db9a634b8 (patch) | |
tree | ba3e074027f4a75065c8c3596c8b358263154438 /lib/cpu-notifier-error-inject.c | |
parent | 70a479cbe80296d3113e65cc2f713a5101061daf (diff) |
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 <[email protected]>
Cc: <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected]>
Cc: Matt Fleming <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions