x86/efi: Split efi_enter_virtual_mode
authorBorislav Petkov <bp@suse.de>
Sat, 18 Jan 2014 11:48:18 +0000 (12:48 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 4 Mar 2014 16:17:19 +0000 (16:17 +0000)
commitfabb37c736f9f688fe3eec98550a5c032a07cfaa
treef13555682673134e7dff1809412be1e72cdb2597
parentb7b898ae0c0a82489511a1ce1b35f26215e6beb5
x86/efi: Split efi_enter_virtual_mode

... into a kexec flavor for better code readability and simplicity. The
original one was getting ugly with ifdeffery.

Signed-off-by: Borislav Petkov <bp@suse.de>
Tested-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/platform/efi/efi.c