Skip to contentSkip to conversation

x86/efi: move asmlinkage before return type

PATCH New [email protected] 1 participant 1 message Jul 12, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 89/96 x86/efi: move asmlinkage before return type

From: Joe Perches <[email protected]>
Subject: x86/efi: move asmlinkage before return type

Make the code like the rest of the kernel.

---

 arch/x86/include/asm/efi.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/include/asm/efi.h renamed from arch/x86/include/asm/efi.h~x86-efi-move-asmlinkage-before-return-type +2 -2
diff -puN arch/x86/include/asm/efi.h~x86-efi-move-asmlinkage-before-return-type arch/x86/include/asm/efi.h
@@ -33,7 +33,7 @@
 
 #ifdef CONFIG_X86_32
 
-extern unsigned long asmlinkage efi_call_phys(void *, ...);
+extern asmlinkage unsigned long efi_call_phys(void *, ...);
 
 #define arch_efi_call_virt_setup()	kernel_fpu_begin()
 #define arch_efi_call_virt_teardown()	kernel_fpu_end()
@@ -52,7 +52,7 @@ extern unsigned long asmlinkage efi_call
 
 #define EFI_LOADER_SIGNATURE	"EL64"
 
-extern u64 asmlinkage efi_call(void *fp, ...);
+extern asmlinkage u64 efi_call(void *fp, ...);
 
 #define efi_call_phys(f, args...)		efi_call((f), args)
 

_