[PATCH] fix typo in per_cpu_offset
From: Luming Yu
Date: Tue Oct 23 2007 - 03:16:17 EST
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@xxxxxxxxx>
Attachment:
correct_per_cpu_offset.patch
Description: Binary data