diff options
author | Simon Glass <sjg@chromium.org> | 2016-09-26 00:27:32 +0300 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2016-10-19 10:01:53 +0300 |
commit | e275458c2f011a7e66ac01e6558f15f4cf4972f9 (patch) | |
tree | 91ef693988635910ac328571dba7aa87b15ccd16 /cmd/bootefi.c | |
parent | a0b49bc3341f8f19cbf57a56d110ab0fa8f39267 (diff) | |
download | u-boot-e275458c2f011a7e66ac01e6558f15f4cf4972f9.tar.xz |
efi: Fix missing EFIAPI specifiers
These are missing in some functions. Add them to keep things consistent.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'cmd/bootefi.c')
-rw-r--r-- | cmd/bootefi.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cmd/bootefi.c b/cmd/bootefi.c index aa5a01e3a6..8714666c03 100644 --- a/cmd/bootefi.c +++ b/cmd/bootefi.c @@ -15,6 +15,8 @@ #include <libfdt_env.h> #include <memalign.h> #include <asm/global_data.h> +#include <asm-generic/sections.h> +#include <linux/linkage.h> DECLARE_GLOBAL_DATA_PTR; @@ -52,7 +54,7 @@ static struct efi_device_path_file_path bootefi_device_path[] = { } }; -static efi_status_t bootefi_open_dp(void *handle, efi_guid_t *protocol, +static efi_status_t EFIAPI bootefi_open_dp(void *handle, efi_guid_t *protocol, void **protocol_interface, void *agent_handle, void *controller_handle, uint32_t attributes) { @@ -145,7 +147,8 @@ static void *copy_fdt(void *fdt) */ static unsigned long do_bootefi_exec(void *efi, void *fdt) { - ulong (*entry)(void *image_handle, struct efi_system_table *st); + ulong (*entry)(void *image_handle, struct efi_system_table *st) + asmlinkage; ulong fdt_pages, fdt_size, fdt_start, fdt_end; bootm_headers_t img = { 0 }; |