diff options
Diffstat (limited to 'mm')
| -rw-r--r-- | mm/memory_hotplug.c | 2 | ||||
| -rw-r--r-- | mm/page_alloc.c | 2 |
2 files changed, 2 insertions, 2 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) |
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 3b21a13d841c..fe14a8c87fc2 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
| @@ -1896,7 +1896,7 @@ static int __devinit pageset_cpuup_callback(struct notifier_block *nfb, | |||
| 1896 | static struct notifier_block pageset_notifier = | 1896 | static struct notifier_block pageset_notifier = |
| 1897 | { &pageset_cpuup_callback, NULL, 0 }; | 1897 | { &pageset_cpuup_callback, NULL, 0 }; |
| 1898 | 1898 | ||
| 1899 | void __init setup_per_cpu_pageset() | 1899 | void __init setup_per_cpu_pageset(void) |
| 1900 | { | 1900 | { |
| 1901 | int err; | 1901 | int err; |
| 1902 | 1902 | ||
