mirror of
https://github.com/adulau/aha.git
synced 2025-01-02 14:13:18 +00:00
[IA64] vmcore_find_descriptor_size should be in __init
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>
This commit is contained in:
parent
18b8befd37
commit
1775fe8516
1 changed files with 1 additions and 1 deletions
|
@ -1231,7 +1231,7 @@ kdump_find_rsvd_region (unsigned long size,
|
||||||
|
|
||||||
#ifdef CONFIG_PROC_VMCORE
|
#ifdef CONFIG_PROC_VMCORE
|
||||||
/* locate the size find a the descriptor at a certain address */
|
/* locate the size find a the descriptor at a certain address */
|
||||||
unsigned long
|
unsigned long __init
|
||||||
vmcore_find_descriptor_size (unsigned long address)
|
vmcore_find_descriptor_size (unsigned long address)
|
||||||
{
|
{
|
||||||
void *efi_map_start, *efi_map_end, *p;
|
void *efi_map_start, *efi_map_end, *p;
|
||||||
|
|
Loading…
Reference in a new issue