Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261794AbVC1NjE (ORCPT ); Mon, 28 Mar 2005 08:39:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261739AbVC1NiF (ORCPT ); Mon, 28 Mar 2005 08:38:05 -0500 Received: from e1.ny.us.ibm.com ([32.97.182.141]:17643 "EHLO e1.ny.us.ibm.com") by vger.kernel.org with ESMTP id S261794AbVC1N11 (ORCPT ); Mon, 28 Mar 2005 08:27:27 -0500 Subject: [RFC/PATCH 13/17][Kdump] Retrieve elfcorehdr address from command line From: Vivek Goyal To: Andrew Morton , lkml Cc: "Eric W. Biederman" , fastboot Content-Type: multipart/mixed; boundary="=-+fi17ngxx2x4oOlSx3du" Date: Mon, 28 Mar 2005 18:57:23 +0530 Message-Id: <1112016443.4001.84.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4114 Lines: 104 --=-+fi17ngxx2x4oOlSx3du Content-Type: text/plain Content-Transfer-Encoding: 7bit --=-+fi17ngxx2x4oOlSx3du Content-Disposition: attachment; filename=crashdump-x86-retrieve-elfcorehdr-addr.patch Content-Type: message/rfc822; name=crashdump-x86-retrieve-elfcorehdr-addr.patch From: Date: Mon, 28 Mar 2005 17:51:36 +0530 Subject: No Subject Message-Id: <1112012496.4001.55.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Vivek Goyal" o This patch adds support for retrieving the address of elf core header if one is passed in command line. Signed-off-by: Vivek Goyal --- linux-2.6.12-rc1-mm1-1M-root/Documentation/kernel-parameters.txt | 4 ++++ linux-2.6.12-rc1-mm1-1M-root/arch/i386/kernel/setup.c | 8 ++++++++ linux-2.6.12-rc1-mm1-1M-root/include/linux/crash_dump.h | 1 + linux-2.6.12-rc1-mm1-1M-root/kernel/crash_dump.c | 3 +++ 4 files changed, 16 insertions(+) diff -puN arch/i386/kernel/setup.c~crashdump-x86-retrieve-elfcorehdr-addr arch/i386/kernel/setup.c --- linux-2.6.12-rc1-mm1-1M/arch/i386/kernel/setup.c~crashdump-x86-retrieve-elfcorehdr-addr 2005-03-22 16:17:00.000000000 +0530 +++ linux-2.6.12-rc1-mm1-1M-root/arch/i386/kernel/setup.c 2005-03-22 16:17:00.000000000 +0530 @@ -42,6 +42,7 @@ #include #include #include +#include #include