x86/efi: Save and restore FPU context around efi_calls (x86_64)
authorRicardo Neri <ricardo.neri-calderon@linux.intel.com>
Thu, 27 Mar 2014 22:10:42 +0000 (15:10 -0700)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 17 Apr 2014 12:26:32 +0000 (13:26 +0100)
commitde05764e0b2a3d9559e099a2e134f8cef4500fdd
treecc42a9d42aad04402b2fdeecfbd8010fc17b1b97
parent982e239cd2c73d2c70e14615a42c0c7391415a44
x86/efi: Save and restore FPU context around efi_calls (x86_64)

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 x86_64 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