mm: export prep_compound_page to mm
authorAndi Kleen <ak@suse.de>
Thu, 24 Jul 2008 04:27:46 +0000 (21:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:17 +0000 (10:47 -0700)
commit01ad1c0827db5b3695c53e296dbb2c1da16a0911
tree80c46c00832094f2413ad97b8e1953018a71cc68
parentb54bbf7b81170f03597c17dd0b559e3006bc9868
mm: export prep_compound_page to mm

hugetlb will need to get compound pages from bootmem to handle the case of
them being greater than or equal to MAX_ORDER.  Export the constructor
function needed for this.

Acked-by: Adam Litke <agl@us.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/internal.h
mm/page_alloc.c