From 36b5f0e746b1b5e2df955df5a1f187dbf6da9cda Mon Sep 17 00:00:00 2001 From: Yasunori Goto Date: Tue, 13 Dec 2005 17:03:37 -0800 Subject: [PATCH] --- yaml --- r: 15115 b: refs/heads/master c: 118c71bcacce82a4317c9bd99c6a15af14020aee h: refs/heads/master i: 15113: 7329dd478fc631146d9011051aee5bea7b586ff1 15111: 2b0ace2202d489825f8ca6204b2a4ad7a9f0c621 v: v3 --- [refs] | 2 +- trunk/mm/memory_hotplug.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 06c8383425b3..cb26c07babae 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 664d22ab954de54e52e0f71103a89c7a78738adc +refs/heads/master: 118c71bcacce82a4317c9bd99c6a15af14020aee diff --git a/trunk/mm/memory_hotplug.c b/trunk/mm/memory_hotplug.c index 431a64f021c0..f6d4af8af8a8 100644 --- a/trunk/mm/memory_hotplug.c +++ b/trunk/mm/memory_hotplug.c @@ -104,7 +104,7 @@ static void grow_pgdat_span(struct pglist_data *pgdat, pgdat->node_start_pfn = start_pfn; if (end_pfn > old_pgdat_end_pfn) - pgdat->node_spanned_pages = end_pfn - pgdat->node_spanned_pages; + pgdat->node_spanned_pages = end_pfn - pgdat->node_start_pfn; } int online_pages(unsigned long pfn, unsigned long nr_pages)