datapath: Account for RHEL6.4 backports in compat layer
[sliver-openvswitch.git] / datapath / linux / compat / include / asm / percpu.h
1 #ifndef __ASM_PERCPU_WRAPPER_H
2 #define __ASM_PERCPU_WRAPPER_H 1
3
4 #include_next <asm/percpu.h>
5
6 #if !defined this_cpu_ptr && !defined HAVE_THIS_CPU_PTR
7 #define this_cpu_ptr(ptr) per_cpu_ptr(ptr, smp_processor_id())
8 #endif
9
10 #endif