- kdump-ia64-always-reserve-elfcore-header-memory-in-crash-kernel.patch removed from -mm tree

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

 



The patch titled
     always reserve elfcore header memory in crash kernel
has been removed from the -mm tree.  Its filename was
     kdump-ia64-always-reserve-elfcore-header-memory-in-crash-kernel.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: always reserve elfcore header memory in crash kernel
From: Simon Horman <horms@xxxxxxxxxxxx>

elfcore header memory needs to be reserved in a crash kernel.  This means
that the relevant code should be protected by CONFIG_CRASH_DUMP rather
than CONFIG_PROC_VMCORE.

Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
Cc: Vivek Goyal <vgoyal@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/ia64/kernel/efi.c   |    2 +-
 arch/ia64/kernel/setup.c |    4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff -puN arch/ia64/kernel/efi.c~kdump-ia64-always-reserve-elfcore-header-memory-in-crash-kernel arch/ia64/kernel/efi.c
--- a/arch/ia64/kernel/efi.c~kdump-ia64-always-reserve-elfcore-header-memory-in-crash-kernel
+++ a/arch/ia64/kernel/efi.c
@@ -1335,7 +1335,7 @@ kdump_find_rsvd_region (unsigned long si
 }
 #endif
 
-#ifdef CONFIG_PROC_VMCORE
+#ifdef CONFIG_CRASH_DUMP
 /* locate the size find a the descriptor at a certain address */
 unsigned long __init
 vmcore_find_descriptor_size (unsigned long address)
diff -puN arch/ia64/kernel/setup.c~kdump-ia64-always-reserve-elfcore-header-memory-in-crash-kernel arch/ia64/kernel/setup.c
--- a/arch/ia64/kernel/setup.c~kdump-ia64-always-reserve-elfcore-header-memory-in-crash-kernel
+++ a/arch/ia64/kernel/setup.c
@@ -352,7 +352,7 @@ reserve_memory (void)
 	}
 #endif
 
-#ifdef CONFIG_PROC_VMCORE
+#ifdef CONFIG_CRASH_KERNEL
 	if (reserve_elfcorehdr(&rsvd_region[n].start,
 			       &rsvd_region[n].end) == 0)
 		n++;
@@ -496,9 +496,7 @@ static int __init parse_elfcorehdr(char 
 	return 0;
 }
 early_param("elfcorehdr", parse_elfcorehdr);
-#endif
 
-#ifdef CONFIG_PROC_VMCORE
 int __init reserve_elfcorehdr(unsigned long *start, unsigned long *end)
 {
 	unsigned long length;
_

Patches currently in -mm which might be from horms@xxxxxxxxxxxx are

origin.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