[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)
commit5b505b90b2d54e526cc8d123bdef3b98c9f0bbc6
treec56ce2547e654eb0a2166171ba8ca19eaa8cd65f
parent348f8b6c4837a07304d2f72b11ce8d96588065e0
[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