[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071229.001815.09803550.davem@davemloft.net>
Date: Sat, 29 Dec 2007 00:18:15 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jengelh@...putergmbh.de
Cc: jgarzik@...ox.com, netdev@...r.kernel.org
Subject: Re: [PATCH] Make FC, FDDI, HIPPI and TR tristate
From: Jan Engelhardt <jengelh@...putergmbh.de>
Date: Sat, 29 Dec 2007 00:45:12 +0100 (CET)
> Turn CONFIG_FC, CONFIG_FDDI, CONFIG_HIPPI and CONFIG_TR into tristate
> so they can be built as modules. This will allow CONFIG_LLC to be
> built as a module too, overall reducing the core kernel image size.
You can't just do things like this.
Now, you have to go over the whole tree and look for
CONFIG_FOO ifdefs in this group and change them all into:
#if defined(CONFIG_FOO) || defined(CONFIG_FOO_MODULE)
as we already do for things like IPV6.
This is most important in cases where these ifdefs
guard inclusion of members into core networking
datastructures, or control the definition of global
CPP macro defines, etc.
One particular instance that needs fixing is the
CONFIG_TR ifdef check in include/linux/netdevice.h
I'd like you to grep over the whole tree looking for
other potential problems like this before resubmitting
this patch.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists