]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/efi.h
ARM: rmobile: Enable autocompletion on Gen2
[people/ms/u-boot.git] / include / efi.h
index 2f0be9c86cb08a69ac94aee7a4c21755fd62710f..98bddbac1ad1e653b492b1fd62360f7735c95185 100644 (file)
@@ -19,7 +19,7 @@
 #include <linux/string.h>
 #include <linux/types.h>
 
-#ifdef CONFIG_EFI_STUB_64BIT
+#if CONFIG_EFI_STUB_64BIT || (!defined(CONFIG_EFI_STUB) && defined(__x86_64__))
 /* EFI uses the Microsoft ABI which is not the default for GCC */
 #define EFIAPI __attribute__((ms_abi))
 #else