projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] USB: ub 00 implement retries and resets
[powerpc.git]
/
mm
/
memory_hotplug.c
diff --git
a/mm/memory_hotplug.c
b/mm/memory_hotplug.c
index
2e916c3
..
f6d4af8
100644
(file)
--- a/
mm/memory_hotplug.c
+++ b/
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_start_pfn = start_pfn;
if (end_pfn > old_pgdat_end_pfn)
- pgdat->node_spanned_pages = end_pfn - pgdat->node_s
panned_pages
;
+ pgdat->node_spanned_pages = end_pfn - pgdat->node_s
tart_pfn
;
}
int online_pages(unsigned long pfn, unsigned long nr_pages)
}
int online_pages(unsigned long pfn, unsigned long nr_pages)
@@
-132,5
+132,7
@@
int online_pages(unsigned long pfn, unsigned long nr_pages)
}
zone->present_pages += onlined_pages;
}
zone->present_pages += onlined_pages;
+ setup_per_zone_pages_min();
+
return 0;
}
return 0;
}