Skip to content

Commit

Permalink
[PATCH] unexport hugetlb_total_pages
Browse files Browse the repository at this point in the history
I didn't find any possible modular usage in the kernel.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Nov 7, 2005
1 parent 55be570 commit 99697dc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mm/hugetlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ unsigned long hugetlb_total_pages(void)
{
return nr_huge_pages * (HPAGE_SIZE / PAGE_SIZE);
}
EXPORT_SYMBOL(hugetlb_total_pages);

/*
* We cannot handle pagefaults against hugetlb pages at all. They cause
Expand Down

0 comments on commit 99697dc

Please sign in to comment.