summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot
diff options
context:
space:
mode:
authorMatt Fleming2014-03-27 23:10:39 +0100
committerMatt Fleming2014-04-17 14:26:30 +0200
commit62fa6e69a436f662090f3996538adb9e568817f6 (patch)
tree445c95f20eb3ad3e35073e3612a58ba4feebbfa5 /arch/x86/boot
parentefi: x86: Handle arbitrary Unicode characters (diff)
downloadkernel-qcow2-linux-62fa6e69a436f662090f3996538adb9e568817f6.tar.gz
kernel-qcow2-linux-62fa6e69a436f662090f3996538adb9e568817f6.tar.xz
kernel-qcow2-linux-62fa6e69a436f662090f3996538adb9e568817f6.zip
x86/efi: Delete most of the efi_call* macros
We really only need one phys and one virt function call, and then only one assembly function to make firmware calls. Since we are not using the C type system anyway, we're not really losing much by deleting the macros apart from no longer having a check that we are passing the correct number of parameters. The lack of duplicated code seems like a worthwhile trade-off. Cc: Ricardo Neri <ricardo.neri-calderon@linux.intel.com> Cc: Borislav Petkov <bp@suse.de> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'arch/x86/boot')
-rw-r--r--arch/x86/boot/compressed/head_64.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boot/compressed/head_64.S b/arch/x86/boot/compressed/head_64.S
index 0d558ee899ae..2884e0c3e8a5 100644
--- a/arch/x86/boot/compressed/head_64.S
+++ b/arch/x86/boot/compressed/head_64.S
@@ -452,7 +452,7 @@ efi32_config:
.global efi64_config
efi64_config:
.fill 11,8,0
- .quad efi_call6
+ .quad efi_call
.byte 1
#endif /* CONFIG_EFI_STUB */