diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2013-03-25 18:47:38 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-29 11:53:13 -0400 |
commit | 5853ff23c2f0f6c87a859e7f882eac3300b329a0 (patch) | |
tree | 875b7125ba23d993247dbe58bc9c40219701cf86 /mm/page_alloc.c | |
parent | 647965a268fd876781dd9899185482682bf42f6a (diff) |
mm: export split_page()
This symbol will be used in the Hyper-V balloon driver to support 2M
allocations.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 8fcced7823fa..7ff1536f01b8 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -1397,6 +1397,7 @@ void split_page(struct page *page, unsigned int order) | |||
1397 | for (i = 1; i < (1 << order); i++) | 1397 | for (i = 1; i < (1 << order); i++) |
1398 | set_page_refcounted(page + i); | 1398 | set_page_refcounted(page + i); |
1399 | } | 1399 | } |
1400 | EXPORT_SYMBOL_GPL(split_page); | ||
1400 | 1401 | ||
1401 | static int __isolate_free_page(struct page *page, unsigned int order) | 1402 | static int __isolate_free_page(struct page *page, unsigned int order) |
1402 | { | 1403 | { |