diff options
author | Flavio Leitner <fbl@redhat.com> | 2015-08-28 10:37:11 -0300 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2015-08-28 09:47:54 -0700 |
commit | 21a719d658b44c4a49ba0e46846691cfb7078599 (patch) | |
tree | f02b37365082a3a6729da067496a8bbd66a3d2e5 /acinclude.m4 | |
parent | 920fc0918997b5c7423421c855f5395446d32aaf (diff) | |
download | openvswitch-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.m4 | 3 |
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 |