]> git.sur5r.net Git - u-boot/commitdiff
efi_loader: fix StartImage bootservice
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 19 Jan 2018 19:24:43 +0000 (20:24 +0100)
committerAlexander Graf <agraf@suse.de>
Mon, 22 Jan 2018 22:09:13 +0000 (23:09 +0100)
The calling convention for the entry point of an EFI image
is always 'asmlinkage'.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_boottime.c

index ff11d028da8a2e8068ce1e90f2d291f1bbf18e32..029dc0957072c7fd7833b46fcb14dde66563eeee 100644 (file)
@@ -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;