mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 10:26:10 +01:00 
			
		
		
		
	efi: Use asmlinkage for EFIAPI
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>
This commit is contained in:
		
				
					committed by
					
						 Alexander Graf
						Alexander Graf
					
				
			
			
				
	
			
			
			
						parent
						
							6fb580d7b4
						
					
				
				
					commit
					a0b49bc334
				
			
							
								
								
									
										0
									
								
								arch/avr32/include/asm/linkage.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								arch/avr32/include/asm/linkage.h
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								arch/m68k/include/asm/linkage.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								arch/m68k/include/asm/linkage.h
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								arch/microblaze/include/asm/linkage.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								arch/microblaze/include/asm/linkage.h
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								arch/mips/include/asm/linkage.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								arch/mips/include/asm/linkage.h
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								arch/nios2/include/asm/linkage.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								arch/nios2/include/asm/linkage.h
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								arch/openrisc/include/asm/linkage.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								arch/openrisc/include/asm/linkage.h
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								arch/sandbox/include/asm/linkage.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								arch/sandbox/include/asm/linkage.h
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								arch/sh/include/asm/linkage.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								arch/sh/include/asm/linkage.h
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								arch/sparc/include/asm/linkage.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								arch/sparc/include/asm/linkage.h
									
									
									
									
									
										Normal 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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user