diff options
author | Steve French <sfrench@us.ibm.com> | 2005-12-31 13:27:22 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-12-31 13:27:22 -0500 |
commit | eea60caef610c7a6c58c0de9c80ae1e438e01301 (patch) | |
tree | 25e19289bba003fe085e589430d0d981fd6b73a7 /mm/memory_hotplug.c | |
parent | da8543ef125afc7bba4da526b61a1ae07dc25109 (diff) | |
parent | 82c9df820112c6286a8e8fbe482e94b65b49062c (diff) |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'mm/memory_hotplug.c')
-rw-r--r-- | mm/memory_hotplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 431a64f021c0..f6d4af8af8a8 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c | |||
@@ -104,7 +104,7 @@ static void grow_pgdat_span(struct pglist_data *pgdat, | |||
104 | pgdat->node_start_pfn = start_pfn; | 104 | pgdat->node_start_pfn = start_pfn; |
105 | 105 | ||
106 | if (end_pfn > old_pgdat_end_pfn) | 106 | if (end_pfn > old_pgdat_end_pfn) |
107 | pgdat->node_spanned_pages = end_pfn - pgdat->node_spanned_pages; | 107 | pgdat->node_spanned_pages = end_pfn - pgdat->node_start_pfn; |
108 | } | 108 | } |
109 | 109 | ||
110 | int online_pages(unsigned long pfn, unsigned long nr_pages) | 110 | int online_pages(unsigned long pfn, unsigned long nr_pages) |