X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Fasm-sparc64%2Fpercpu.h;h=ced8cbde046dab27cc505aea639fc43e25914b4f;hb=5f757f91e70a97eda8f0cc13bddc853209b2d173;hp=a6ece06b83dbc8144b7475c89c3423ce9b0b5360;hpb=f6e6e883730aff2718610d3eba7608fcf73328ed;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-sparc64/percpu.h b/include/asm-sparc64/percpu.h index a6ece06b83d..ced8cbde046 100644 --- a/include/asm-sparc64/percpu.h +++ b/include/asm-sparc64/percpu.h @@ -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) \