[PATCH] fix typo in per_cpu_offset

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-ia64@...>
Cc: Linux Kernel <linux-kernel@...>
Date: Tuesday, October 23, 2007 - 3:15 am

Hello list,

there is a typo in the definition of per_cpu_offset because, for ia64,
the __per_cpu_offset is an array.

 extern unsigned long __per_cpu_offset[NR_CPUS];
-#define per_cpu_offset(x) (__per_cpu_offset(x))
+#define per_cpu_offset(x) (__per_cpu_offset[x])

Thanks,
Luming

Signed-off-by: Yu Luming <luming.yu@intel.com>
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] fix typo in per_cpu_offset, Luming Yu, (Tue Oct 23, 3:15 am)
Re: [PATCH] fix typo in per_cpu_offset, Simon Horman, (Tue Oct 30, 3:15 am)
Re: [PATCH] fix typo in per_cpu_offset, David Miller, (Tue Oct 30, 3:36 am)
Re: [PATCH] fix typo in per_cpu_offset, Simon Horman, (Tue Oct 30, 4:50 am)
Re: [PATCH] fix typo in per_cpu_offset, Simon Horman, (Wed Nov 7, 2:44 am)
Re: [PATCH] fix typo in per_cpu_offset, Luming Yu, (Wed Nov 7, 2:50 am)