Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db7a94d6 authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parent a6ffb404
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@
#ifdef CONFIG_HIGHMEM

unsigned long totalhigh_pages __read_mostly;
EXPORT_SYMBOL(totalhigh_pages);

unsigned int nr_free_highpages (void)
{