diff options
author | Simon Horman <horms@verge.net.au> | 2007-10-29 09:10:29 +0100 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-10-29 18:43:29 +0100 |
commit | 1775fe851632fd906bc5e5c6f77494d8f7ef1275 (patch) | |
tree | 214660cf1b95d1ea37683d2ca6cb0040400b0068 | |
parent | [IA64] ia64/mm/init.c: fix section mismatches (diff) | |
download | linux-1775fe851632fd906bc5e5c6f77494d8f7ef1275.tar.xz linux-1775fe851632fd906bc5e5c6f77494d8f7ef1275.zip |
[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>
-rw-r--r-- | arch/ia64/kernel/efi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c index 3f7ea13358e9..6216eba2e38f 100644 --- a/arch/ia64/kernel/efi.c +++ b/arch/ia64/kernel/efi.c @@ -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; |