Re: [PATCH 01/10] percpu: Use a kconfig variable to signal arch specific percpu setup

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <travis@...>
Cc: <mingo@...>, Andrew Morton <akpm@...>, Andi Kleen <ak@...>, Christoph Lameter <clameter@...>, Jack Steiner <steiner@...>, <linux-mm@...>, <linux-kernel@...>, Rusty Russell <rusty@...>
Date: Tuesday, January 8, 2008 - 3:24 pm

On Mon, Jan 07, 2008 at 06:11:43PM -0800, travis@sgi.com wrote:

Please do not create one variable per arch to enable this functionality.
Define one common variable and name it:
config HAVE_SETUP_PER_CPU_AREA

and then for the arch's that supports it you select this symbol.
For X86 it would look like:

 config X86
+	select HAVE_SETUP_PER_CPU_AREA


This is the recommended methiond today - albeit not widely used yet.

	Sam
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 01/10] percpu: Use a kconfig variable to signal a..., Sam Ravnborg, (Tue Jan 8, 3:24 pm)