Commit 5853ff23 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman

mm: export split_page()

This symbol will be used in the Hyper-V balloon driver to support 2M
allocations.
Signed-off-by: default avatarK.  Y.  Srinivasan <kys@microsoft.com>
Acked-by: default avatarMichal Hocko <mhocko@suse.cz>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 647965a2
...@@ -1397,6 +1397,7 @@ void split_page(struct page *page, unsigned int order) ...@@ -1397,6 +1397,7 @@ void split_page(struct page *page, unsigned int order)
for (i = 1; i < (1 << order); i++) for (i = 1; i < (1 << order); i++)
set_page_refcounted(page + i); set_page_refcounted(page + i);
} }
EXPORT_SYMBOL_GPL(split_page);
static int __isolate_free_page(struct page *page, unsigned int order) static int __isolate_free_page(struct page *page, unsigned int order)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment