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

From: Randy Dunlap
Date: Tue Nov 27 2007 - 19:06:51 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/