* [PATCH] vmcore_find_descriptor_size should be in __init
@ 2007-10-29 8:10 Simon Horman
0 siblings, 0 replies; only message in thread
From: Simon Horman @ 2007-10-29 8:10 UTC (permalink / raw)
To: linux-kernel, kexec, linux-ia64; +Cc: Eric Biederman, Tony Luck, Andrew Morton
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>
Index: linux-2.6/arch/ia64/kernel/efi.c
===================================================================
--- linux-2.6.orig/arch/ia64/kernel/efi.c 2007-03-06 16:43:11.000000000 +0900
+++ linux-2.6/arch/ia64/kernel/efi.c 2007-03-06 16:43:25.000000000 +0900
@@ -1180,7 +1180,7 @@
#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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-29 8:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-29 8:10 [PATCH] vmcore_find_descriptor_size should be in __init Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox