[IA64] fix typo in per_cpu_offset
authorYu Luming <luming.yu@intel.com>
Mon, 29 Oct 2007 18:21:45 +0000 (11:21 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 29 Oct 2007 18:21:45 +0000 (11:21 -0700)
there is a typo in the definition of per_cpu_offset because, for ia64,
the __per_cpu_offset is an array.

Signed-off-by: Yu Luming <luming.yu@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/percpu.h

index 43a7aac..c4f1e32 100644 (file)
@@ -46,7 +46,7 @@
 #ifdef CONFIG_SMP
 
 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])
 
 /* Equal to __per_cpu_offset[smp_processor_id()], but faster to access: */
 DECLARE_PER_CPU(unsigned long, local_per_cpu_offset);