git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Account for RHEL6.4 backports in compat layer
[sliver-openvswitch.git]
/
datapath
/
linux
/
compat
/
include
/
asm
/
percpu.h
diff --git
a/datapath/linux/compat/include/asm/percpu.h
b/datapath/linux/compat/include/asm/percpu.h
index
404b937
..
65bce08
100644
(file)
--- a/
datapath/linux/compat/include/asm/percpu.h
+++ b/
datapath/linux/compat/include/asm/percpu.h
@@
-3,7
+3,7
@@
#include_next <asm/percpu.h>
-#if
ndef 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