]> git.karo-electronics.de Git - linux-beck.git/commitdiff
highmem: Export totalhigh_pages.
authorDavid S. Miller <davem@davemloft.net>
Sun, 20 Jul 2008 05:39:46 +0000 (22:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Jul 2008 05:39:46 +0000 (22:39 -0700)
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>
mm/highmem.c

index 7da4a7b6af11f1d359af60568b312838f8fa2802..e16e1523b688680572513b16ef0e49d5ac0314f0 100644 (file)
@@ -40,6 +40,7 @@
 #ifdef CONFIG_HIGHMEM
 
 unsigned long totalhigh_pages __read_mostly;
+EXPORT_SYMBOL(totalhigh_pages);
 
 unsigned int nr_free_highpages (void)
 {