lkml.org 
[lkml]   [2013]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RESEND PATCH 2/4] kdump, ppc: make saved_max_pfn exclusive
Date
Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
---

arch/powerpc/kernel/crash_dump.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/kernel/crash_dump.c b/arch/powerpc/kernel/crash_dump.c
index b3ba516..fa64170 100644
--- a/arch/powerpc/kernel/crash_dump.c
+++ b/arch/powerpc/kernel/crash_dump.c
@@ -72,7 +72,7 @@ void __init setup_kdump_trampoline(void)
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;
}


\
 
 \ /
  Last update: 2013-02-04 08:27    [W:0.030 / U:11.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site