+ ia64-vmcore_find_descriptor_size-should-be-in-__init.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>

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@xxxxxxxxxxxx>
Cc: "Luck, Tony" <tony.luck@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 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@xxxxxxxxxxxx are

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

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux