datapath: check for el6 kernels for per_cpu
[cascardo/ovs.git] / datapath / linux / compat / include / linux / percpu.h
index 4ec64cf..2459f55 100644 (file)
@@ -7,7 +7,7 @@
 #define this_cpu_ptr(ptr) per_cpu_ptr(ptr, smp_processor_id())
 #endif
 
-#ifdef HAVE_RHEL_OVS_HOOK
+#ifdef HAVE_RHEL6_PER_CPU
 #undef this_cpu_read
 #undef this_cpu_inc
 #undef this_cpu_dec