[PATCH] kdump: Retrieve saved max pfn
commit92aa63a5a1bf2e7b0c79e6716d24b76dbbdcf951
authorVivek Goyal <vgoyal@in.ibm.com>
Sat, 25 Jun 2005 21:58:18 +0000 (25 14:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:52 +0000 (25 16:24 -0700)
tree1f4d49c8e9bf02e834e6af8c1f7d4484d9f76c6e
parentd58831e4163699de204dea199be2e903bf5d6eff
[PATCH] kdump: Retrieve saved max pfn

This patch retrieves the max_pfn being used by previous kernel and stores it
in a safe location (saved_max_pfn) before it is overwritten due to user
defined memory map.  This pfn is used to make sure that user does not try to
read the physical memory beyond saved_max_pfn.

Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/setup.c
include/linux/bootmem.h
mm/bootmem.c