Commit db7a94d60f871ce6a52e97d82dea476cee0c4ea0

Authored by David S. Miller
1 parent a6ffb404dc

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -40,6 +40,7 @@
40 40 #ifdef CONFIG_HIGHMEM
41 41  
42 42 unsigned long totalhigh_pages __read_mostly;
  43 +EXPORT_SYMBOL(totalhigh_pages);
43 44  
44 45 unsigned int nr_free_highpages (void)
45 46 {