[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTinQ9_WdZAfyTLKhvP47tRnYABjEtTOVByhn1QZo@mail.gmail.com>
Date: Sat, 27 Nov 2010 10:06:36 +0200
From: Pekka Enberg <penberg@...nel.org>
To: Christoph Lameter <cl@...ux.com>
Cc: akpm@...ux-foundation.org, Pekka Enberg <penberg@...helsinki.fi>,
linux-kernel@...r.kernel.org,
Eric Dumazet <eric.dumazet@...il.com>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Tejun Heo <tj@...nel.org>
Subject: Re: [thisops uV2 04/10] x86: Support for this_cpu_add,sub,dec,inc_return
On Fri, Nov 26, 2010 at 11:09 PM, Christoph Lameter <cl@...ux.com> wrote:
> @@ -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?
> +#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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists