]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86_64/percpu.h
Merge branch 'upstream-fixes' into upstream
[linux-2.6-omap-h63xx.git] / include / asm-x86_64 / percpu.h
index 549eb929b2c0b551952cc9f41aa3e50cbe914f4a..08dd9f9dda81854dc1b222dacd24ef209e6be29f 100644 (file)
@@ -14,6 +14,8 @@
 #define __per_cpu_offset(cpu) (cpu_pda(cpu)->data_offset)
 #define __my_cpu_offset() read_pda(data_offset)
 
+#define per_cpu_offset(x) (__per_cpu_offset(x))
+
 /* Separate out the type, so (int[3], foo) works. */
 #define DEFINE_PER_CPU(type, name) \
     __attribute__((__section__(".data.percpu"))) __typeof__(type) per_cpu__##name