Skip to content

Commit

Permalink
[IA64] kexec/kdump: tidy up declaration of relocate_new_kernel_t
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
Horms authored and Tony Luck committed Dec 12, 2006
1 parent ad1c3ba commit 53da576
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions arch/ia64/kernel/machine_kexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@
#include <asm/delay.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;

Expand Down

0 comments on commit 53da576

Please sign in to comment.