summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorFlavio Leitner <fbl@redhat.com>2015-08-28 10:37:11 -0300
committerJesse Gross <jesse@nicira.com>2015-08-28 09:47:54 -0700
commit21a719d658b44c4a49ba0e46846691cfb7078599 (patch)
treef02b37365082a3a6729da067496a8bbd66a3d2e5 /acinclude.m4
parent920fc0918997b5c7423421c855f5395446d32aaf (diff)
downloadopenvswitch-21a719d658b44c4a49ba0e46846691cfb7078599.tar.gz
datapath: check for el6 kernels for per_cpu
The OVS hook has been backported so it doesn't work to decide per_cpu work arounds. Signed-off-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 6e2878891..73bbe8c4f 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -449,6 +449,9 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [
OVS_GREP_IFELSE([$KSRC/include/uapi/linux/netdevice.h], [NET_NAME_UNKNOWN],
[OVS_DEFINE([HAVE_NET_NAME_UNKNOWN])])
+ OVS_GREP_IFELSE([$KSRC/include/linux/utsrelease.h], [el6],
+ [OVS_DEFINE([HAVE_RHEL6_PER_CPU])])
+
if cmp -s datapath/linux/kcompat.h.new \
datapath/linux/kcompat.h >/dev/null 2>&1; then
rm datapath/linux/kcompat.h.new