Commit c25a21e3 authored by Ma Wupeng's avatar Ma Wupeng Committed by Wupeng Ma
Browse files

export symbol alloc_contig_pages

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I9UDJX



--------------------------------

Commit b951aaff5035 (mm: enable page allocation tagging) export
alloc_contig_pages in mainline linux, in order to alloc continue
page which buddy system can not handle. Export it.

Signed-off-by: default avatarMa Wupeng <mawupeng1@huawei.com>
parent c96c2b4f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9356,6 +9356,7 @@ struct page *alloc_contig_pages(unsigned long nr_pages, gfp_t gfp_mask,
	}
	return NULL;
}
EXPORT_SYMBOL(alloc_contig_pages);
#endif /* CONFIG_CONTIG_ALLOC */

void free_contig_range(unsigned long pfn, unsigned int nr_pages)