From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753529Ab3BDGmU (ORCPT ); Mon, 4 Feb 2013 01:42:20 -0500 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:56522 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753038Ab3BDGmQ (ORCPT ); Mon, 4 Feb 2013 01:42:16 -0500 From: HATAYAMA Daisuke Subject: [RESEND PATCH 1/4] kdump, mips: make saved_max_pfn exclusive To: ralf@linux-mips.org, michael@ellerman.id.au, benh@kernel.crashing.org, paulus@samba.org, holzheu@linux.vnet.ibm.com, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, vgoyal@redhat.com Cc: kexec@lists.infradead.org, linux-kernel@vger.kernel.org Date: Mon, 04 Feb 2013 15:42:14 +0900 Message-ID: <20130204064214.13324.33713.stgit@localhost6.localdomain6> In-Reply-To: <20130204064112.13324.89478.stgit@localhost6.localdomain6> References: <20130204064112.13324.89478.stgit@localhost6.localdomain6> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: HATAYAMA Daisuke --- arch/mips/kernel/crash_dump.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/mips/kernel/crash_dump.c b/arch/mips/kernel/crash_dump.c index 35bed0d..6621211 100644 --- a/arch/mips/kernel/crash_dump.c +++ b/arch/mips/kernel/crash_dump.c @@ -6,7 +6,7 @@ static int __init parse_savemaxmem(char *p) { if (p) - saved_max_pfn = (memparse(p, &p) >> PAGE_SHIFT) - 1; + saved_max_pfn = (memparse(p, &p) >> PAGE_SHIFT); return 1; }