[PATCH 1/4] kdump, mips: make saved_max_pfn exclusive
HATAYAMA Daisuke
d.hatayama at jp.fujitsu.com
Mon Feb 4 01:24:50 EST 2013
Signed-off-by: HATAYAMA Daisuke <d.hatayama at jp.fujitsu.com>
---
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;
}
More information about the kexec
mailing list