Re: linux-2.4.13 high SWAP

David S. Miller (davem@redhat.com)
Wed, 24 Oct 2001 15:08:04 -0700 (PDT)


From: toon@vdpas.hobby.nl
Date: Wed, 24 Oct 2001 23:48:26 +0200

The command `make modules_install' results in the following output:

if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.13; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.13/kernel/fs/ramfs/ramfs.o
depmod: activate_page

Maybe an #include of some header file is missing somewhere?

No, the fix is even simpler:

--- ../vanilla/linux/kernel/ksyms.c Wed Oct 17 14:32:50 2001
+++ kernel/ksyms.c Wed Oct 24 14:45:31 2001
@@ -116,6 +116,7 @@
EXPORT_SYMBOL(get_unmapped_area);
EXPORT_SYMBOL(init_mm);
EXPORT_SYMBOL(deactivate_page);
+EXPORT_SYMBOL(activate_page);
#ifdef CONFIG_HIGHMEM
EXPORT_SYMBOL(kmap_high);
EXPORT_SYMBOL(kunmap_high);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/