Skip to content
Snippets Groups Projects
Commit a0b49bc3 authored by Simon Glass's avatar Simon Glass Committed by Alexander Graf
Browse files

efi: Use asmlinkage for EFIAPI


This is required for x86 and is also correct for ARM (since it is empty).

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 6fb580d7
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#ifndef _EFI_H #ifndef _EFI_H
#define _EFI_H #define _EFI_H
#include <linux/linkage.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/types.h> #include <linux/types.h>
...@@ -22,7 +23,7 @@ ...@@ -22,7 +23,7 @@
/* EFI uses the Microsoft ABI which is not the default for GCC */ /* EFI uses the Microsoft ABI which is not the default for GCC */
#define EFIAPI __attribute__((ms_abi)) #define EFIAPI __attribute__((ms_abi))
#else #else
#define EFIAPI #define EFIAPI asmlinkage
#endif #endif
struct efi_device_path; struct efi_device_path;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment