]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sparc64/percpu.h
[SPARC64]: Fix futex_atomic_cmpxchg_inatomic implementation.
[linux-2.6-omap-h63xx.git] / include / asm-sparc64 / percpu.h
index a6ece06b83dbc8144b7475c89c3423ce9b0b5360..ced8cbde046dab27cc505aea639fc43e25914b4f 100644 (file)
@@ -11,6 +11,7 @@ extern unsigned long __per_cpu_base;
 extern unsigned long __per_cpu_shift;
 #define __per_cpu_offset(__cpu) \
        (__per_cpu_base + ((unsigned long)(__cpu) << __per_cpu_shift))
+#define per_cpu_offset(x) (__per_cpu_offset(x))
 
 /* Separate out the type, so (int[3], foo) works. */
 #define DEFINE_PER_CPU(type, name) \