aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/platform/uv/bios_uv.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2014-03-27 15:10:39 -0700
committerMatt Fleming <matt.fleming@intel.com>2014-04-17 13:26:30 +0100
commit62fa6e69a436f662090f3996538adb9e568817f6 (patch)
tree445c95f20eb3ad3e35073e3612a58ba4feebbfa5 /arch/x86/platform/uv/bios_uv.c
parentefi: x86: Handle arbitrary Unicode characters (diff)
downloadlinux-dev-62fa6e69a436f662090f3996538adb9e568817f6.tar.xz
linux-dev-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/platform/uv/bios_uv.c')
-rw-r--r--arch/x86/platform/uv/bios_uv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/platform/uv/bios_uv.c b/arch/x86/platform/uv/bios_uv.c
index 766612137a62..1584cbed0dce 100644
--- a/arch/x86/platform/uv/bios_uv.c
+++ b/arch/x86/platform/uv/bios_uv.c
@@ -39,7 +39,7 @@ s64 uv_bios_call(enum uv_bios_cmd which, u64 a1, u64 a2, u64 a3, u64 a4, u64 a5)
*/
return BIOS_STATUS_UNIMPLEMENTED;
- ret = efi_call6((void *)__va(tab->function), (u64)which,
+ ret = efi_call((void *)__va(tab->function), (u64)which,
a1, a2, a3, a4, a5);
return ret;
}