Skip to content

Commit

Permalink
[IA64] fix typo in per_cpu_offset
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yu Luming authored and Tony Luck committed Oct 29, 2007
1 parent 113134f commit d7c4086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-ia64/percpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d7c4086

Please sign in to comment.