lkml.org 
[lkml]   [2000]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC] Wine speedup through kernel module
Date
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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.050 / U:15.212 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site