[patch 00/13] CPU selection Kconfig cleanup, take 3

Kumar Gala galak at kernel.crashing.org
Sun Jun 17 09:52:51 EST 2007


On Jun 14, 2007, at 6:51 PM, Arnd Bergmann wrote:

> On Thursday 14 June 2007, Kumar Gala wrote:
>> I'm a little hesitant to move the embedded ppc's over to
>> multiplatform quite yet.  One feature I wanted was in Kconfig a way
>> to enforce the selection of at least one choice, as well as being
>> able to optimize things since we only had one choice selected.
>
> What would such a potential optimization be like? Are you thinking
> of turning the 'platform_is(foo)' check into a compile-time choice,
> or are there more places where you can imagine an optimization?
> I'd like to understand better what you want to achieve there,
> maybe I can find a way to do that in the same series.

Sort of, in that if we were built with the  
CONFIG_ONLY_HAD_ONE_MACHINE we could optimize the machine_is() checks  
away.

> For the 'at least one option selected' argument, I'm not sure how
> important that is, IMHO it falls into the same category as any
> other essential option that you can disable.

People have run into the issue so I think it desires at least a  
little concern.  See: http://marc.info/?t=117529164800005&r=1&w=2

- k



More information about the Linuxppc-dev mailing list