Messages in this thread |  | | From | Keith Owens <> | Subject | Re: [RFC] Wine speedup through kernel module | Date | Tue, 12 Sep 2000 21:51:21 +1100 |
| |
On Tue, 12 Sep 2000 12:40:45 +0200 (CEST), adve@oce.nl (Arjan van de Ven) wrote: >In article <5331.968754237@ocs3.ocs-net> you wrote: >> #ifdef CONFIG_MODULES >> EXPORT_SYMBOL(dynamic_syscall_in_modules_helper); >> #endif > >I think this is total bullshit. EXPORT_SYMBOLS should be a nop anyway if >modules are turned off, as there is no use for it.
Absolutely correct. I was being a bit short with that example, in real life it would be more like this.
#ifdef CONFIG_MODULES
int dynamic_syscall_in_modules_helper(int syscall, struct module *mod) { /* blah, blah, blah */ }
EXPORT_SYMBOL(dynamic_syscall_in_modules_helper);
#endif
The whole function would depend on CONFIG_MODULES, not just the export. That's what I get for trying to save bandwidth ...
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |