From: Heinrich Schuchardt Date: Fri, 19 Jan 2018 19:24:43 +0000 (+0100) Subject: efi_loader: fix StartImage bootservice X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=5e55543e65c3ada3d83d6f1b1ddc153ea64b0948;p=u-boot.git efi_loader: fix StartImage bootservice The calling convention for the entry point of an EFI image is always 'asmlinkage'. Signed-off-by: Heinrich Schuchardt Signed-off-by: Alexander Graf --- diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index ff11d028da..029dc09570 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -1533,7 +1533,8 @@ static efi_status_t EFIAPI efi_start_image(efi_handle_t image_handle, unsigned long *exit_data_size, s16 **exit_data) { - ulong (*entry)(efi_handle_t image_handle, struct efi_system_table *st); + asmlinkage ulong (*entry)(efi_handle_t image_handle, + struct efi_system_table *st); struct efi_loaded_image *info = image_handle; efi_status_t ret;