From: Yu Luming Date: Mon, 29 Oct 2007 18:21:45 +0000 (-0700) Subject: [IA64] fix typo in per_cpu_offset X-Git-Tag: v2.6.24-rc2~74^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d7c4086af7b51144bdedda266ffa66617ec7d4ed;p=profile%2Fivi%2Fkernel-x86-ivi.git [IA64] fix typo in per_cpu_offset 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 Signed-off-by: Tony Luck --- diff --git a/include/asm-ia64/percpu.h b/include/asm-ia64/percpu.h index 43a7aac..c4f1e32 100644 --- a/include/asm-ia64/percpu.h +++ b/include/asm-ia64/percpu.h @@ -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);