Skip to content

Commit

Permalink
highmem: Export totalhigh_pages.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
davem330 committed Jul 20, 2008
1 parent a6ffb40 commit db7a94d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mm/highmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#ifdef CONFIG_HIGHMEM

unsigned long totalhigh_pages __read_mostly;
EXPORT_SYMBOL(totalhigh_pages);

unsigned int nr_free_highpages (void)
{
Expand Down

0 comments on commit db7a94d

Please sign in to comment.