From: Simon Horman Date: Mon, 29 Oct 2007 08:10:29 +0000 (+0900) Subject: [IA64] vmcore_find_descriptor_size should be in __init X-Git-Tag: v2.6.24-rc2~74^2~7 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1775fe851632fd906bc5e5c6f77494d8f7ef1275;p=linux-2.6 [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 Signed-off-by: Tony Luck --- diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c index 3f7ea13358..6216eba2e3 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;