From: David S. Miller Date: Sun, 20 Jul 2008 05:39:46 +0000 (-0700) Subject: highmem: Export totalhigh_pages. X-Git-Tag: v2.6.27-rc1~969^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=db7a94d60f871ce6a52e97d82dea476cee0c4ea0;p=linux-2.6-omap-h63xx.git 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 --- 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) {