[PATCH] Fix calculation of grow_pgdat_span() in mm/memory_hotplug.c
authorYasunori Goto <y-goto@jp.fujitsu.com>
Wed, 14 Dec 2005 01:03:37 +0000 (17:03 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 14 Dec 2005 05:18:16 +0000 (21:18 -0800)
commit118c71bcacce82a4317c9bd99c6a15af14020aee
tree9a1f286152a7f21242ba04dd5b24b0cf7be88266
parent664d22ab954de54e52e0f71103a89c7a78738adc
[PATCH] Fix calculation of grow_pgdat_span() in mm/memory_hotplug.c

The calculation for node_spanned_pages at grow_pgdat_span() is clearly
wrong.  This is patch for it.

(Please see grow_zone_span() to compare. It is correct.)

Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Acked-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/memory_hotplug.c