David Gibson 27a85ef1b8 [PATCH] hugepage: Make {alloc,free}_huge_page() local
Originally, mm/hugetlb.c just handled the hugepage physical allocation path
and its {alloc,free}_huge_page() functions were used from the arch specific
hugepage code.  These days those functions are only used with mm/hugetlb.c
itself.  Therefore, this patch makes them static and removes their
prototypes from hugetlb.h.  This requires a small rearrangement of code in
mm/hugetlb.c to avoid a forward declaration.

This patch causes no regressions on the libhugetlbfs testsuite (ppc64,
POWER5).

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Cc: William Lee Irwin III <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-22 07:54:03 -08:00
..
2006-01-31 03:25:09 -05:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-01-06 08:33:29 -08:00
2006-02-20 02:16:23 -05:00