login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
27
Re: [thisops uV2 04/10] x86: Support for this_cpu_add,sub,dec,inc_return
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Pekka Enberg
Subject:
Re: [thisops uV2 04/10] x86: Support for this_cpu_add,sub,dec,inc_return
Date: Saturday, November 27, 2010 - 1:06 am
On Fri, Nov 26, 2010 at 11:09 PM, Christoph Lameter <cl@linux.com> wrote:
quoted text
> @@ -300,6 +339,14 @@ do { \ > #define irqsafe_cpu_xor_2(pcp, val) percpu_to_op("xor", (pcp), val) > #define irqsafe_cpu_xor_4(pcp, val) percpu_to_op("xor", (pcp), val) > > +#ifndef CONFIG_M386
Use CONFIG_X86_32 here?
quoted text
> +#define __this_cpu_add_return_1(pcp, val) percpu_add_return_op((pcp), val) > +#define __this_cpu_add_return_2(pcp, val) percpu_add_return_op((pcp), val) > +#define __this_cpu_add_return_4(pcp, val) percpu_add_return_op((pcp), val) > +#define this_cpu_add_return_1(pcp, val) percpu_add_return_op((pcp), val) > +#define this_cpu_add_return_2(pcp, val) percpu_add_return_op((pcp), val) > +#define this_cpu_add_return_4(pcp, val) percpu_add_return_op((pcp), val) > +#endif > /* > * Per cpu atomic 64 bit operations are only available under 64 bit. > * 32 bit must fall back to generic operations.
--
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[thisops uV2 00/10] Upgrade of this_cpu_ops V2
, Christoph Lameter
, (Fri Nov 26, 2:09 pm)
[thisops uV2 04/10] x86: Support for this_cpu_add,sub,dec, ...
, Christoph Lameter
, (Fri Nov 26, 2:09 pm)
[thisops uV2 05/10] x86: Use this_cpu_inc_return for nmi c ...
, Christoph Lameter
, (Fri Nov 26, 2:09 pm)
Re: [thisops uV2 04/10] x86: Support for this_cpu_add,sub, ...
, Pekka Enberg
, (Sat Nov 27, 1:06 am)
Re: [thisops uV2 05/10] x86: Use this_cpu_inc_return for n ...
, Pekka Enberg
, (Sat Nov 27, 1:07 am)
Re: [thisops uV2 04/10] x86: Support for this_cpu_add,sub, ...
, Mathieu Desnoyers
, (Sat Nov 27, 8:00 am)
Re: [thisops uV2 05/10] x86: Use this_cpu_inc_return for n ...
, Mathieu Desnoyers
, (Sat Nov 27, 8:00 am)
Re: [thisops uV2 04/10] x86: Support for this_cpu_add,sub, ...
, Christoph Lameter
, (Mon Nov 29, 9:03 am)
Re: [thisops uV2 04/10] x86: Support for this_cpu_add,sub, ...
, Christoph Lameter
, (Mon Nov 29, 9:31 am)
Re: [thisops uV2 04/10] x86: Support for this_cpu_add,sub, ...
, Mathieu Desnoyers
, (Mon Nov 29, 11:33 am)
Re: [thisops uV2 04/10] x86: Support for this_cpu_add,sub, ...
, Christoph Lameter
, (Mon Nov 29, 11:54 am)
Re: [thi