diff options
author | Yu Luming <luming.yu@intel.com> | 2007-10-29 14:21:45 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-10-29 14:21:45 -0400 |
commit | d7c4086af7b51144bdedda266ffa66617ec7d4ed (patch) | |
tree | db9e1763747056e6d4c53d9842e5c90e9edabd66 | |
parent | 113134fcbca83619be4c68d0ca66db6093777b5d (diff) |
[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 <luming.yu@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r-- | include/asm-ia64/percpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ia64/percpu.h b/include/asm-ia64/percpu.h index 43a7aac414e0..c4f1e328a5ba 100644 --- a/include/asm-ia64/percpu.h +++ b/include/asm-ia64/percpu.h | |||
@@ -46,7 +46,7 @@ | |||
46 | #ifdef CONFIG_SMP | 46 | #ifdef CONFIG_SMP |
47 | 47 | ||
48 | extern unsigned long __per_cpu_offset[NR_CPUS]; | 48 | extern unsigned long __per_cpu_offset[NR_CPUS]; |
49 | #define per_cpu_offset(x) (__per_cpu_offset(x)) | 49 | #define per_cpu_offset(x) (__per_cpu_offset[x]) |
50 | 50 | ||
51 | /* Equal to __per_cpu_offset[smp_processor_id()], but faster to access: */ | 51 | /* Equal to __per_cpu_offset[smp_processor_id()], but faster to access: */ |
52 | DECLARE_PER_CPU(unsigned long, local_per_cpu_offset); | 52 | DECLARE_PER_CPU(unsigned long, local_per_cpu_offset); |