diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2006-03-22 00:08:56 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-22 07:54:03 -0800 |
commit | 27a85ef1b81300cfff06b4c8037e9914dfb09acc (patch) | |
tree | 1a8d9bc4c5611542273e57fc2606c12905906a57 /include/asm-powerpc/pgtable.h | |
parent | b45b5bd65f668a665db40d093e4e1fe563533608 (diff) | |
download | blackbird-op-linux-27a85ef1b81300cfff06b4c8037e9914dfb09acc.tar.gz blackbird-op-linux-27a85ef1b81300cfff06b4c8037e9914dfb09acc.zip |
[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>
Diffstat (limited to 'include/asm-powerpc/pgtable.h')
0 files changed, 0 insertions, 0 deletions