]> git.sur5r.net Git - u-boot/commitdiff
efi: Use asmlinkage for EFIAPI
authorSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2016 21:27:31 +0000 (15:27 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 19 Oct 2016 07:01:53 +0000 (09:01 +0200)
This is required for x86 and is also correct for ARM (since it is empty).

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/avr32/include/asm/linkage.h [new file with mode: 0644]
arch/m68k/include/asm/linkage.h [new file with mode: 0644]
arch/microblaze/include/asm/linkage.h [new file with mode: 0644]
arch/mips/include/asm/linkage.h [new file with mode: 0644]
arch/nios2/include/asm/linkage.h [new file with mode: 0644]
arch/openrisc/include/asm/linkage.h [new file with mode: 0644]
arch/sandbox/include/asm/linkage.h [new file with mode: 0644]
arch/sh/include/asm/linkage.h [new file with mode: 0644]
arch/sparc/include/asm/linkage.h [new file with mode: 0644]
include/efi.h

diff --git a/arch/avr32/include/asm/linkage.h b/arch/avr32/include/asm/linkage.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/arch/m68k/include/asm/linkage.h b/arch/m68k/include/asm/linkage.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/arch/microblaze/include/asm/linkage.h b/arch/microblaze/include/asm/linkage.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/arch/mips/include/asm/linkage.h b/arch/mips/include/asm/linkage.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/arch/nios2/include/asm/linkage.h b/arch/nios2/include/asm/linkage.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/arch/openrisc/include/asm/linkage.h b/arch/openrisc/include/asm/linkage.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/arch/sandbox/include/asm/linkage.h b/arch/sandbox/include/asm/linkage.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/arch/sh/include/asm/linkage.h b/arch/sh/include/asm/linkage.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/arch/sparc/include/asm/linkage.h b/arch/sparc/include/asm/linkage.h
new file mode 100644 (file)
index 0000000..e69de29
index 5a3b8cf69ac101b87b53bcb23d67b79b4b3584d4..d07187c7dd06c000698f9ac40a18e338e81c1c34 100644 (file)
@@ -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;