[PATCH][v850] Guard some symbol exports with #ifdef CONFIG_MMU

From: Miles Bader
Date: Thu Aug 28 2003 - 00:54:30 EST


Linus, please apply.

diff -ruN -X../cludes linux-2.6.0-test4-uc0/kernel/ksyms.c linux-2.6.0-test4-uc0-v850-20030827/kernel/ksyms.c
--- linux-2.6.0-test4-uc0/kernel/ksyms.c 2003-08-25 13:23:54.000000000 +0900
+++ linux-2.6.0-test4-uc0-v850-20030827/kernel/ksyms.c 2003-08-26 11:43:52.000000000 +0900
@@ -120,7 +120,9 @@
EXPORT_SYMBOL(max_mapnr);
#endif
EXPORT_SYMBOL(high_memory);
+#ifdef CONFIG_MMU
EXPORT_SYMBOL_GPL(invalidate_mmap_range);
+#endif
EXPORT_SYMBOL(vmtruncate);
EXPORT_SYMBOL(find_vma);
EXPORT_SYMBOL(get_unmapped_area);
@@ -198,7 +200,9 @@
EXPORT_SYMBOL(invalidate_inode_pages);
EXPORT_SYMBOL_GPL(invalidate_inode_pages2);
EXPORT_SYMBOL(truncate_inode_pages);
+#ifdef CONFIG_MMU
EXPORT_SYMBOL(install_page);
+#endif
EXPORT_SYMBOL(fsync_bdev);
EXPORT_SYMBOL(permission);
EXPORT_SYMBOL(vfs_permission);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/