lkml.org 
[lkml]   [2007]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 05/14] percpu: Use a Kconfig variable to configure arch specific percpu setup
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-11-28 01:09    [from the cache]
©2003-2011 Jasper Spaans