Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757509AbZJBRRE (ORCPT ); Fri, 2 Oct 2009 13:17:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757262AbZJBRRD (ORCPT ); Fri, 2 Oct 2009 13:17:03 -0400 Received: from smtp2.ultrahosting.com ([74.213.174.253]:39016 "EHLO smtp.ultrahosting.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753645AbZJBRRB (ORCPT ); Fri, 2 Oct 2009 13:17:01 -0400 Date: Fri, 2 Oct 2009 13:11:54 -0400 (EDT) From: Christoph Lameter X-X-Sender: cl@gentwo.org To: Ingo Molnar cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, David Howells , Tejun Heo , Rusty Russell , Eric Dumazet , Pekka Enberg Subject: Re: [this_cpu_xx V4 01/20] Introduce this_cpu_ptr() and generic this_cpu_* operations In-Reply-To: <20091002093453.GA21427@elte.hu> Message-ID: References: <20091001212521.123389189@gentwo.org> <20091001212557.773205427@gentwo.org> <20091002093453.GA21427@elte.hu> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 766 Lines: 19 On Fri, 2 Oct 2009, Ingo Molnar wrote: > > @@ -66,6 +69,8 @@ extern void setup_per_cpu_areas(void); > > #define per_cpu(var, cpu) (*((void)(cpu), &per_cpu_var(var))) > > #define __get_cpu_var(var) per_cpu_var(var) > > #define __raw_get_cpu_var(var) per_cpu_var(var) > > +#define this_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) > > +#define __this_cpu_ptr(ptr) this_cpu_ptr(ptr) > > Small detail: please have a look at the existing vertical alignment > style of the code there and follow it with new entries. Ok. Fixed. -- 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/