x86/efi: Save and restore FPU context around efi_calls (i386)
authorRicardo Neri <ricardo.neri-calderon@linux.intel.com>
Thu, 27 Mar 2014 22:10:43 +0000 (15:10 -0700)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 17 Apr 2014 12:26:33 +0000 (13:26 +0100)
commitb738c6ea49b4e98e6ca0651da82a610f996a16ae
tree54376d57ee0c3befdde3302df4d9a1c13af88439
parentde05764e0b2a3d9559e099a2e134f8cef4500fdd
x86/efi: Save and restore FPU context around efi_calls (i386)

Do a complete FPU context save/restore around the EFI calls. This required
as runtime EFI firmware may potentially use the FPU.

This change covers only the i386 configuration.

Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Cc: Borislav Petkov <bp@suse.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/include/asm/efi.h