Re: [PATCH] mm: add config NUMA stub to all architectures

From: Stephen Rothwell
Date: Fri Feb 17 2012 - 18:39:21 EST


Hi Sam,

On Fri, 17 Feb 2012 14:44:04 +0100 Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
>
> > Seems like Kconfig allow config option duplication, but it use default state from first.
> > If we add "config NUMA\n def_bool n" somewhere in generic Kconfig, default will be n if
> > Kconfig see this declaration first.
> Correct.
> And as n is default there is no need to specify it.
> But please add a help text that explain the symbol - even if it is not
> visible in menuconfig.

So does that mean that a simple

config NUMA
bool
help
some help text

in mm/Kconfig will have no effect on the defaults and dependencies if
"config NUMA" is specified elsewhere? (except to add the needed
__enabled_CONFIG_NUMA defines, of course). If that is the case, then
that is what we should add, right?

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature