Skip to content

Commit

Permalink
[IA64] vmcore_find_descriptor_size should be in __init
Browse files Browse the repository at this point in the history
vmcore_find_descriptor_size() is only called by
reserve_elfcorehdr(), which is in __init, so it seems to me that
vmcore_find_descriptor_size() should be there too.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Simon Horman authored and Tony Luck committed Oct 29, 2007
1 parent 18b8bef commit 1775fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ia64/kernel/efi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ kdump_find_rsvd_region (unsigned long size,

#ifdef CONFIG_PROC_VMCORE
/* locate the size find a the descriptor at a certain address */
unsigned long
unsigned long __init
vmcore_find_descriptor_size (unsigned long address)
{
void *efi_map_start, *efi_map_end, *p;
Expand Down

0 comments on commit 1775fe8

Please sign in to comment.