OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6ffb40
)
highmem: Export totalhigh_pages.
author
David S. Miller
<davem@davemloft.net>
Sun, 20 Jul 2008 05:39:46 +0000
(22:39 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sun, 20 Jul 2008 05:39:46 +0000
(22:39 -0700)
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>
mm/highmem.c
patch
|
blob
|
history
diff --git
a/mm/highmem.c
b/mm/highmem.c
index
7da4a7b
..
e16e152
100644
(file)
--- a/
mm/highmem.c
+++ b/
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)
{