Messages in this thread |  | | Date | Tue, 4 Mar 2014 15:47:59 -0800 | From | Andrew Morton <> | Subject | Re: [PATCH 31/48] uv: Replace __get_cpu_var |
| |
On Tue, 4 Mar 2014 18:42:10 -0500 Steven Rostedt <rostedt@goodmis.org> wrote:
> > --- a/arch/x86/include/asm/uv/uv_hub.h~uv-replace-__get_cpu_var-fix > > +++ a/arch/x86/include/asm/uv/uv_hub.h > > @@ -618,7 +618,7 @@ struct uv_cpu_nmi_s { > > }; > > > > DECLARE_PER_CPU(struct uv_cpu_nmi_s, __uv_cpu_nmi); > > -#define uv_cpu_nmi __this_cpu_read(_uv_cpu_nmi) > > +#define uv_cpu_nmi (*this_cpu_ptr(&__uv_cpu_nmi)) > > Looks like an extra "_" was added.
yes, there were two mistakes in that line.
|  |