Prechádzať zdrojové kódy

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>
David S. Miller 17 rokov pred
rodič
commit
db7a94d60f
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      mm/highmem.c

+ 1 - 0
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)
 {