|
@@ -172,7 +172,7 @@ get_sparsemem_vmemmap_info(struct kcore_list *ent, struct list_head *head)
|
|
|
|
|
|
start = ((unsigned long)pfn_to_page(pfn)) & PAGE_MASK;
|
|
|
end = ((unsigned long)pfn_to_page(pfn + nr_pages)) - 1;
|
|
|
- end = ALIGN(end, PAGE_SIZE);
|
|
|
+ end = PAGE_ALIGN(end);
|
|
|
/* overlap check (because we have to align page */
|
|
|
list_for_each_entry(tmp, head, list) {
|
|
|
if (tmp->type != KCORE_VMEMMAP)
|