From: Ricardo Neri Date: Thu, 27 Mar 2014 22:10:41 +0000 (-0700) Subject: x86/efi: Implement a __efi_call_virt macro X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~12^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=982e239cd2c73d2c70e14615a42c0c7391415a44;p=pandora-kernel.git x86/efi: Implement a __efi_call_virt macro For i386, all the EFI system runtime services functions return efi_status_t except efi_reset_system_system. Therefore, not all functions can be covered by the same macro in case the macro needs to do more than calling the function (i.e., return a value). The purpose of the __efi_call_virt macro is to be used when no return value is expected. For x86_64, this macro would not be needed as all the runtime services return u64. However, the same code is used for both x86_64 and i386. Thus, the macro __efi_call_virt is also defined to not break compilation. Signed-off-by: Ricardo Neri Cc: Borislav Petkov Signed-off-by: Matt Fleming --- Reading git-diff-tree failed