percpu: add raw_cpu_ptr() for 3.18 ext4 backport
Theodore Ts'o [Thu, 22 Jan 2015 17:10:43 +0000 (12:10 -0500)]
include/asm-generic/percpu.h

index d17784e..344c195 100644 (file)
@@ -87,6 +87,9 @@ extern void setup_per_cpu_areas(void);
 
 #endif /* SMP */
 
+/* 3.18 backport */
+#define raw_cpu_ptr(ptr)       __this_cpu_ptr(ptr)
+
 #ifndef PER_CPU_BASE_SECTION
 #ifdef CONFIG_SMP
 #define PER_CPU_BASE_SECTION ".data..percpu"