Skip to content
Snippets Groups Projects
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
No related merge requests found
......@@ -40,6 +40,7 @@
#ifdef CONFIG_HIGHMEM
unsigned long totalhigh_pages __read_mostly;
EXPORT_SYMBOL(totalhigh_pages);
unsigned int nr_free_highpages (void)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment