Messages in this thread | | | Date | Fri, 2 Oct 2009 13:11:54 -0400 (EDT) | From | Christoph Lameter <> | Subject | Re: [this_cpu_xx V4 01/20] Introduce this_cpu_ptr() and generic this_cpu_* operations |
| |
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.
| |