aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/efi.c
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2007-10-29 04:10:29 -0400
committerTony Luck <tony.luck@intel.com>2007-10-29 13:43:29 -0400
commit1775fe851632fd906bc5e5c6f77494d8f7ef1275 (patch)
tree214660cf1b95d1ea37683d2ca6cb0040400b0068 /arch/ia64/kernel/efi.c
parent18b8befd3755b2b9afa86e270b701473676644b7 (diff)
[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>
Diffstat (limited to 'arch/ia64/kernel/efi.c')
-rw-r--r--arch/ia64/kernel/efi.c2
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,
1231 1231
1232#ifdef CONFIG_PROC_VMCORE 1232#ifdef CONFIG_PROC_VMCORE
1233/* locate the size find a the descriptor at a certain address */ 1233/* locate the size find a the descriptor at a certain address */
1234unsigned long 1234unsigned long __init
1235vmcore_find_descriptor_size (unsigned long address) 1235vmcore_find_descriptor_size (unsigned long address)
1236{ 1236{
1237 void *efi_map_start, *efi_map_end, *p; 1237 void *efi_map_start, *efi_map_end, *p;