datapath: Backport this_cpu_ptr to kernels < 2.6.33
authorJesse Gross <jesse@nicira.com>
Fri, 16 Nov 2012 21:20:58 +0000 (13:20 -0800)
committerJesse Gross <jesse@nicira.com>
Fri, 16 Nov 2012 21:24:35 +0000 (13:24 -0800)
commit82d293555a406207b608191cca822c7207e7d8c5
tree47d04f40aaa7757209320af8b6932dfeb6fa246b
parenta088a1ffeba3d113c1be918969085a5c0de0d518
datapath: Backport this_cpu_ptr to kernels < 2.6.33

An upstream commit uses this_cpu_ptr for a small performance benefit,
so this provides an equivalent to kernels that don't have that
function.

Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/linux/Modules.mk
datapath/linux/compat/include/asm/percpu.h [new file with mode: 0644]