Commit a0b49bc3 authored by Simon Glass's avatar Simon Glass Committed by Alexander Graf

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
......@@ -15,6 +15,7 @@
#ifndef _EFI_H
#define _EFI_H
#include <linux/linkage.h>
#include <linux/string.h>
#include <linux/types.h>
......@@ -22,7 +23,7 @@
/* EFI uses the Microsoft ABI which is not the default for GCC */
#define EFIAPI __attribute__((ms_abi))
#else
#define EFIAPI
#define EFIAPI asmlinkage
#endif
struct efi_device_path;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment