x86/efi: Delete most of the efi_call* macros
authorMatt Fleming <matt.fleming@intel.com>
Thu, 27 Mar 2014 22:10:39 +0000 (15:10 -0700)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 17 Apr 2014 12:26:30 +0000 (13:26 +0100)
commit62fa6e69a436f662090f3996538adb9e568817f6
tree445c95f20eb3ad3e35073e3612a58ba4feebbfa5
parentc625d1c203941fad755eb4eb729db1f65d6e9836
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>
arch/x86/boot/compressed/head_64.S
arch/x86/include/asm/efi.h
arch/x86/platform/efi/efi.c
arch/x86/platform/efi/efi_stub_64.S
arch/x86/platform/uv/bios_uv.c
This page took 0.026996 seconds and 5 git commands to generate.