summaryrefslogtreecommitdiff
path: root/mm/nommu.c
diff options
context:
space:
mode:
authorWu, Bryan <bryan.wu@analog.com>2007-04-12 10:28:47 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-04-13 02:31:42 +0400
commit6a04de6dbe1772d98fddf5099738d6f508e86e21 (patch)
tree1f11a5f326657b05320faceedf3bd1f7531238e6 /mm/nommu.c
parentc3724b129b5a1a1789a2dc5348685a236ae02479 (diff)
downloadlinux-6a04de6dbe1772d98fddf5099738d6f508e86e21.tar.xz
[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>
Diffstat (limited to 'mm/nommu.c')
-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;