[PATCH] fix typo in per_cpu_offset

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Luming Yu
Date: Tuesday, October 23, 2007 - 12: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, 12:15 am)
Re: [PATCH] fix typo in per_cpu_offset, Simon Horman, (Tue Oct 30, 12:15 am)
Re: [PATCH] fix typo in per_cpu_offset, David Miller, (Tue Oct 30, 12:36 am)
Re: [PATCH] fix typo in per_cpu_offset, Simon Horman, (Tue Oct 30, 1:50 am)
Re: [PATCH] fix typo in per_cpu_offset, Simon Horman, (Tue Nov 6, 11:44 pm)
Re: [PATCH] fix typo in per_cpu_offset, Luming Yu, (Tue Nov 6, 11:50 pm)