projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: check for el6 kernels for per_cpu
[cascardo/ovs.git]
/
datapath
/
linux
/
compat
/
include
/
linux
/
percpu.h
diff --git
a/datapath/linux/compat/include/linux/percpu.h
b/datapath/linux/compat/include/linux/percpu.h
index
4ec64cf
..
2459f55
100644
(file)
--- a/
datapath/linux/compat/include/linux/percpu.h
+++ b/
datapath/linux/compat/include/linux/percpu.h
@@
-7,7
+7,7
@@
#define this_cpu_ptr(ptr) per_cpu_ptr(ptr, smp_processor_id())
#endif
-#ifdef HAVE_RHEL
_OVS_HOOK
+#ifdef HAVE_RHEL
6_PER_CPU
#undef this_cpu_read
#undef this_cpu_inc
#undef this_cpu_dec