Re: [patch 05/14] percpu: Use a Kconfig variable to configure arch specific percpu setup

Randy Dunlap
2007-11-28T00:06:48Z

Christoph Lameter wrote:
> On Tue, 27 Nov 2007, Randy Dunlap wrote:
>
>>> +config ARCH_SETS_UP_PER_CPU_AREA
>>> + bool
>>> + default y
>> def_bool y
>> is the preferred form for those 2-liners above...
>>
>>
>>> +
>>> config ARCH_NO_VIRT_TO_BUS
>>> def_bool y
>>>
>
> Ok. Changed.
>
> x86 should use
>
> config ARCH_SETS_UP_PER_CPU_AREA
> def_bool X86_64
>
> ?

Yes, you can do
def_bool <config symbol>
as well to make the new symbol be variable instead of constant.

--
~Randy