Commit:     475c63bded322545d1e9ccc5930c8903d2c97c4c
Parent:     bcb9b99d1fb6a1cbe592f131dc95450d2f18c91f
Author:     Horms <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 5 10:59:03 2007 +0900
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Mon Feb 5 11:29:33 2007 -0800

    [IA64] Zero size /proc/vmcore on ia64
    Set saved_max_pfn when discontig memory is in use.
    This sets up saved_max_pfn when disctontig memory is in use.
    This mirrors the code for contig memory.
    This patch does not entirely solve the problem of making vmcore work,
    however it does appear to be neccessary. Please consider applying.
    Signed-off-by: Simon Horman <[EMAIL PROTECTED]>
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>
 arch/ia64/mm/discontig.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/arch/ia64/mm/discontig.c b/arch/ia64/mm/discontig.c
index 96722cb..d3edb12 100644
--- a/arch/ia64/mm/discontig.c
+++ b/arch/ia64/mm/discontig.c
@@ -506,6 +506,12 @@ void __init find_memory(void)
        max_pfn = max_low_pfn;
+       /* If we are doing a crash dump, we still need to know the real mem
+        * size before original memory map is reset. */
+        saved_max_pfn = max_pfn;
 #ifdef CONFIG_SMP
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to