summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWu, Bryan <bryan.wu@analog.com>2007-04-11 23:28:47 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-04-12 15:31:42 -0700
commit6a04de6dbe1772d98fddf5099738d6f508e86e21 (patch)
tree1f11a5f326657b05320faceedf3bd1f7531238e6
parentc3724b129b5a1a1789a2dc5348685a236ae02479 (diff)
downloadlinux-6a04de6dbe1772d98fddf5099738d6f508e86e21.tar.gz
linux-6a04de6dbe1772d98fddf5099738d6f508e86e21.tar.bz2
linux-6a04de6dbe1772d98fddf5099738d6f508e86e21.zip
[PATCH] nommu: fix bug ip_conntrack does not work on nommu
num_physpages is not exported out in mm/nommu.c, so the ip_conntrack module link will fail. Signed-off-by: Bryan Wu <bryan.wu@analog.com> Acked-By: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--mm/nommu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/nommu.c b/mm/nommu.c
index cbbc13774819..1f60194d9b9b 100644
--- a/mm/nommu.c
+++ b/mm/nommu.c
@@ -45,6 +45,7 @@ int heap_stack_gap = 0;
EXPORT_SYMBOL(mem_map);
EXPORT_SYMBOL(__vm_enough_memory);
+EXPORT_SYMBOL(num_physpages);
/* list of shareable VMAs */
struct rb_root nommu_vma_tree = RB_ROOT;