diff options
| author | Miaohe Lin <[email protected]> | 2021-02-25 17:17:21 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-02-26 09:41:00 -0800 |
| commit | 6c922cf75115c8b389c091a073209ca45f1af530 (patch) | |
| tree | 670664e7944284862e5c1ccfbc63e5eafe88c0db /tools/perf/scripts/python | |
| parent | 26011267e1a7ddaab50b5f81b402ca3e7fc2887c (diff) | |
mm/memory_hotplug: use helper function zone_end_pfn() to get end_pfn
Commit 108bcc96ef70 ("mm: add & use zone_end_pfn() and zone_spans_pfn()")
introduced the helper zone_end_pfn() to calculate the zone end pfn. But
update_pgdat_span() forgot to use it.
Use this helper and rename local variable zone_end_pfn to end_pfn to avoid
a naming conflict with the existing zone_end_pfn().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions