]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] sparsemem base: teach discontig about sparse ranges
authorDave Hansen <haveblue@us.ibm.com>
Thu, 23 Jun 2005 07:07:41 +0000 (00:07 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:01 +0000 (09:45 -0700)
commitaaf8c7210a420cc5dcf771e25c01aa9c8122e03a
treec56ce2547e654eb0a2166171ba8ca19eaa8cd65f
parent4b44a7b249707d5359da209785f638825f56d995
[PATCH] sparsemem base: teach discontig about sparse ranges

discontig.c has some assumptions that mem_map[]s inside of a node are
contiguous.  Teach it to make sure that each region that it's bringing online
is actually made up of valid ranges of ram.

Written-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/mm/discontig.c
arch/i386/mm/init.c
include/asm-i386/page.h