Re: [RFC 08/11] remove CONFIG_KMOD from net
From: Johannes Berg
Date: Tue Jul 08 2008 - 14:43:08 EST
> > Eh, no. Not unless I also always compile in dev_load, which as of now
> > depends on CONFIG_MODULES. In fact, another hunk in this series makes it
> > a static inline when CONFIG_MODULES=n so that callers don't need to take
> > care of #ifdef'ing it.
>
> Look at include/linux/module.h:
>
> ...
> #ifdef CONFIG_MODULES
> ...
> #define EXPORT_SYMBOL(sym) \
> __EXPORT_SYMBOL(sym, "")
> ...
> #else /* !CONFIG_MODULES... */
> #define EXPORT_SYMBOL(sym)
> ...
Oh, right, I forgot I was dealing with CONFIG_MODULES and treated it
just like another config option, thanks.
johannes
Attachment:
signature.asc
Description: This is a digitally signed message part