summaryrefslogtreecommitdiff
path: root/mm/highmem.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-19 22:39:46 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-19 22:39:46 -0700
commitdb7a94d60f871ce6a52e97d82dea476cee0c4ea0 (patch)
tree1f68ce11e11a4b0b9088271ffa6187e274349f4a /mm/highmem.c
parenta6ffb404dc03f806a257faaab831a6cb55c0b790 (diff)
downloadlinux-3.10-db7a94d60f871ce6a52e97d82dea476cee0c4ea0.tar.gz
linux-3.10-db7a94d60f871ce6a52e97d82dea476cee0c4ea0.tar.bz2
linux-3.10-db7a94d60f871ce6a52e97d82dea476cee0c4ea0.zip
highmem: Export totalhigh_pages.
Hash et al. sizing code in SCTP wants to make the calculation totalram_pages - totalhigh_pages, just like TCP. But this requires an export for the CONFIG_HIGHMEM case to work. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/highmem.c')
-rw-r--r--mm/highmem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/highmem.c b/mm/highmem.c
index 7da4a7b6af1..e16e1523b68 100644
--- a/mm/highmem.c
+++ b/mm/highmem.c
@@ -40,6 +40,7 @@
#ifdef CONFIG_HIGHMEM
unsigned long totalhigh_pages __read_mostly;
+EXPORT_SYMBOL(totalhigh_pages);
unsigned int nr_free_highpages (void)
{