|
@@ -46,7 +46,7 @@
|
|
|
#ifdef CONFIG_SMP
|
|
#ifdef CONFIG_SMP
|
|
|
|
|
|
|
|
extern unsigned long __per_cpu_offset[NR_CPUS];
|
|
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: */
|
|
/* Equal to __per_cpu_offset[smp_processor_id()], but faster to access: */
|
|
|
DECLARE_PER_CPU(unsigned long, local_per_cpu_offset);
|
|
DECLARE_PER_CPU(unsigned long, local_per_cpu_offset);
|