|
@@ -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 @@
|
|
/* 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;
|