datapath: Account for RHEL6.4 backports in compat layer
[sliver-openvswitch.git] / datapath / linux / compat / include / asm / percpu.h
index 404b937..65bce08 100644 (file)
@@ -3,7 +3,7 @@
 
 #include_next <asm/percpu.h>
 
-#ifndef this_cpu_ptr
+#if !defined this_cpu_ptr && !defined HAVE_THIS_CPU_PTR
 #define this_cpu_ptr(ptr) per_cpu_ptr(ptr, smp_processor_id())
 #endif