[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1215542523.3670.4.camel@johannes.berg>
Date: Tue, 08 Jul 2008 20:42:03 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Adrian Bunk <bunk@...nel.org>
Cc: linux-kernel@...r.kernel.org,
Rusty Russell <rusty@...tcorp.com.au>,
Christoph Hellwig <hch@...radead.org>, netdev@...r.kernel.org
Subject: Re: [RFC 08/11] remove CONFIG_KMOD from net
> > 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
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists