![]() | |||||||||||||
Messages in this thread Patch in this message |
[I'm not sure who to send this to, so I'm guessing. Pointers appreciated!] Hi, A few symbols are only defined when CONFIG_MMU=y, but are exported (by kernel/ksyms.c) unconditionally. This patch makes them conditional. Patch: diff -ruN -X../cludes ../orig/linux-2.5.49-uc0/kernel/ksyms.c kernel/ksyms.c --- ../orig/linux-2.5.49-uc0/kernel/ksyms.c 2002-11-25 10:30:10.000000000 +0900 +++ kernel/ksyms.c 2002-11-25 14:32:43.000000000 +0900 @@ -324,7 +324,9 @@ /* for stackable file systems (lofs, wrapfs, cryptfs, etc.) */ EXPORT_SYMBOL(default_llseek); EXPORT_SYMBOL(dentry_open); +#ifdef CONFIG_MMU EXPORT_SYMBOL(filemap_nopage); +#endif EXPORT_SYMBOL(filemap_fdatawrite); EXPORT_SYMBOL(filemap_fdatawait); EXPORT_SYMBOL(lock_page); @@ -525,7 +527,9 @@ EXPORT_SYMBOL(single_release); /* Program loader interfaces */ +#ifdef CONFIG_MMU EXPORT_SYMBOL(setup_arg_pages); +#endif EXPORT_SYMBOL(copy_strings_kernel); EXPORT_SYMBOL(do_execve); EXPORT_SYMBOL(flush_old_exec); Thanks, -Miles -- Love is a snowmobile racing across the tundra. Suddenly it flips over, pinning you underneath. At night the ice weasels come. --Nietzsche | ||||||||||||
| Last update: 2005-03-22 12:31 [W:0.410 / U:0.160 seconds] ©2003-2008 Jasper Spaans | |||||||||||||