From: Adrian Bunk <bunk@stusta.de>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Sam Ravnborg <sam@ravnborg.org>,
David Miller <davem@davemloft.net>,
randy.dunlap@oracle.com, linux-kernel@vger.kernel.org,
linux-raid@vger.kernel.org
Subject: Re: BLK_DEV_MD with CONFIG_NET
Date: Thu, 22 Mar 2007 12:15:31 +0100 [thread overview]
Message-ID: <20070322111531.GT752@stusta.de> (raw)
In-Reply-To: <200703212330.24502.arnd@arndb.de>
On Wed, Mar 21, 2007 at 11:30:24PM +0100, Arnd Bergmann wrote:
> On Wednesday 21 March 2007 13:02:46 Sam Ravnborg wrote:
> > > Anything which is every exported to modules, which ought to
> > > be the situation in this case, should be obj-y not lib-y
> > > right?
> >
> > That is also my understanding of lib-y - I should update makefiles.txt
> > to reflect this..
>
> Strictly speaking, it could well be obj-m instead of obj-y if it
> is _only_ used by modules. OTOH, it makes the Makefile a lot simpler
> to not optimize for this case.
No, it is only used by modules only if CONFIG_BLK_DEV_MD=m and CONFIG_NET=n...
And except for some legacy drivers, there shouldn't be any module-only
code in the kernel.
The solution is either obj-y or obj-$(CONFIG_CSUM_PARIAL).
> Arnd
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2007-03-22 11:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-21 3:05 BLK_DEV_MD with CONFIG_NET Randy Dunlap
2007-03-21 3:26 ` David Miller
2007-03-21 12:02 ` Sam Ravnborg
2007-03-21 22:30 ` Arnd Bergmann
2007-03-22 11:15 ` Adrian Bunk [this message]
2007-03-21 22:59 ` Randy Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070322111531.GT752@stusta.de \
--to=bunk@stusta.de \
--cc=arnd@arndb.de \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.