projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.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
|
blame
|
history
diff --git
a/mm/highmem.c
b/mm/highmem.c
index 7da4a7b6af11f1d359af60568b312838f8fa2802..e16e1523b688680572513b16ef0e49d5ac0314f0 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)
{