From: Adrian Bunk <bunk@stusta.de>
Date: Mon, 7 Nov 2005 09:01:37 +0000 (-0800)
Subject: [PATCH] unexport hugetlb_total_pages
X-Git-Tag: firefly_0821_release~40608
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=99697dc02d2c1e8234c88d4256879d080483a57a;p=firefly-linux-kernel-4.4.55.git

[PATCH] unexport hugetlb_total_pages

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>
---

diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 9a565808da3f..728e9bda12ea 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -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