Re: [PATCH] Remove remaining references of CONFIG_GENERIC_TIME

From: Nicolas Pitre
Date: Mon Aug 01 2011 - 12:40:44 EST


On Mon, 1 Aug 2011, Arnaud Lacombe wrote:

> Moreover, this approach is deemed to fail. The current symbol
> namespace is tied to an arch, so whenever you do:
>
> arch/arm/Kconfig:
> config FOO
> bool
>
> config BAZ
> bool
>
> drivers/cpufreq/Kconfig
> config BAR
> depends on ARM && FOO
> select BAZ
>
> You will end up triggering the warning for every ARCH != ARM...

You can keep a state for those symbols with regard to their level of
reference. Surely if ARM isn't true, BAZ is not "actively" referenced
in the end.


Nicolas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/