All of lore.kernel.org
 help / color / mirror / Atom feed
* + ia64-vmcore_find_descriptor_size-should-be-in-__init.patch added to -mm tree
@ 2007-10-30 20:12 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2007-10-30 20:12 UTC (permalink / raw)
  To: mm-commits; +Cc: horms, tony.luck


The patch titled
     ia64: vmcore_find_descriptor_size should be in __init
has been added to the -mm tree.  Its filename is
     ia64-vmcore_find_descriptor_size-should-be-in-__init.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: ia64: vmcore_find_descriptor_size should be in __init
From: Simon Horman <horms@verge.net.au>

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>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/ia64/kernel/efi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/ia64/kernel/efi.c~ia64-vmcore_find_descriptor_size-should-be-in-__init arch/ia64/kernel/efi.c
--- a/arch/ia64/kernel/efi.c~ia64-vmcore_find_descriptor_size-should-be-in-__init
+++ a/arch/ia64/kernel/efi.c
@@ -1231,7 +1231,7 @@ kdump_find_rsvd_region (unsigned long si
 
 #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;
_

Patches currently in -mm which might be from horms@verge.net.au are

origin.patch
ia64-vmcore_find_descriptor_size-should-be-in-__init.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-30 20:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-30 20:12 + ia64-vmcore_find_descriptor_size-should-be-in-__init.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.