Parcourir la source

[IA64] kexec/kdump: tidy up declaration of relocate_new_kernel_t

* Make NORET_TYPE and ATTRIB_NORET in line with the
  declaration for other architectures
* Add parameter names

Signed-Off-By: Simon Horman <horms@verge.net.au>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Horms il y a 18 ans
Parent
commit
53da5763bf
1 fichiers modifiés avec 5 ajouts et 2 suppressions
  1. 5 2
      arch/ia64/kernel/machine_kexec.c

+ 5 - 2
arch/ia64/kernel/machine_kexec.c

@@ -19,8 +19,11 @@
 #include <asm/delay.h>
 #include <asm/delay.h>
 #include <asm/meminit.h>
 #include <asm/meminit.h>
 
 
-typedef void (*relocate_new_kernel_t)(unsigned long, unsigned long,
-		struct ia64_boot_param *, unsigned long);
+typedef NORET_TYPE void (*relocate_new_kernel_t)(
+					unsigned long indirection_page,
+					unsigned long start_address,
+					struct ia64_boot_param *boot_param,
+					unsigned long pal_addr) ATTRIB_NORET;
 
 
 struct kimage *ia64_kimage;
 struct kimage *ia64_kimage;